mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Address formatting changes from Prettier version 3
This commit is contained in:
parent
1a4bfd2fc3
commit
f84657d837
4 changed files with 28 additions and 21 deletions
|
@ -755,13 +755,13 @@ const getGlyphMapForStandardFonts = getLookupTableFactory(function (t) {
|
|||
// The glyph map for ArialBlack differs slightly from the glyph map used for
|
||||
// other well-known standard fonts. Hence we use this (incomplete) CID to GID
|
||||
// mapping to adjust the glyph map for non-embedded ArialBlack fonts.
|
||||
const getSupplementalGlyphMapForArialBlack = getLookupTableFactory(function (
|
||||
t
|
||||
) {
|
||||
t[227] = 322;
|
||||
t[264] = 261;
|
||||
t[291] = 346;
|
||||
});
|
||||
const getSupplementalGlyphMapForArialBlack = getLookupTableFactory(
|
||||
function (t) {
|
||||
t[227] = 322;
|
||||
t[264] = 261;
|
||||
t[291] = 346;
|
||||
}
|
||||
);
|
||||
|
||||
// The glyph map for Calibri (a Windows font) differs from the glyph map used
|
||||
// in the standard fonts. Hence we use this (incomplete) CID to GID mapping to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue