Skip to content

Commit

Permalink
🚀 improve detection of bold font (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
luckymore authored May 11, 2024
1 parent 62e76d6 commit af7122f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pdffont.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import nodeUtil from 'util';
import PDFUnit from './pdfunit.js';
import { kFontFaces, kFontStyles } from './pdfconst.js';

const _boldSubNames = ['bd', 'bold', 'demi', 'black'];
const _boldSubNames = ['bd', 'bold', 'demi', 'black', 'medi'];
const _stdFonts = [
'arial',
'helvetica',
Expand Down

0 comments on commit af7122f

Please sign in to comment.