=
5f81017726
#502 Adding basic Type3 font support.
14 years ago
notmasteryet
cd63fce80b
Moving CID-2 hack in fixWidths
14 years ago
notmasteryet
cbfbd93e7a
small fixes: index and formatting
14 years ago
notmasteryet
6403c91cbb
Fixes the special char codes... and unpack fix
14 years ago
notmasteryet
ab391c318d
Moving CID-0 encoding hack to fonts.js
14 years ago
notmasteryet
66cd79f308
Initial CID0 font encodings
14 years ago
Kalervo Kujala
800fc131b8
Use lowercase in function names.
...
This alleviates the confusion which functions can be instantiated with new.
14 years ago
Kalervo Kujala
9b14e80fd5
Use lowercase properly in function names.
14 years ago
Kalervo Kujala
481f242b5a
Fix lint warnings.
14 years ago
Kalervo Kujala
0d5efbe9fe
Name anonymous functions for debugging purposes.
...
It also makes profiling more convenient.
14 years ago
Vivien Nicolas
da6acb200a
Fix tests failure by cloning the GlyphsUnicode object
14 years ago
Vivien Nicolas
41ebb55d75
Fix tests failures
14 years ago
Vivien Nicolas
f3c20150bd
Fix lint errors and add metrics.js and charsets.js to the default set of pdf files in the Makefile
14 years ago
notmasteryet
ebb9d7dd2c
Fix for 16-bit 'loca' table
14 years ago
notmasteryet
f401a64eb2
Sanitize 'loca' font table: some fonts have first glyph with length 10
14 years ago
notmasteryet
1c5b1cbc34
Fixing the CID to GID mapping for cid fonts (regression of arial_unicode_XX_cidfont.pdf)
14 years ago
notmasteryet
391ec1f99a
Moving defaultWidth into the charsToGlyphs function
14 years ago
notmasteryet
1f047495b1
Fixing large cmap-s; reduce changes in the indent encoding
14 years ago
notmasteryet
559bd070bf
Fixing lint long lines warnings
14 years ago
Adil Allawi
530d78e0f8
Added myself to the license (yay!)
...
Tweaked according to comments in pull request #482
14 years ago
Adil Allawi
870de2f7f3
Add opentype ascender, descender and units-per-em to font properties
...
Prefer font ascender, descender when creating OS/2 table
scale PDF ascender and descender in OS/2 table by font units per em if it exists
Fix the truetype font header to prevent Windows rejecting a Mac truetype font
14 years ago
Adil Allawi
cac74d7cb3
Fix OS/2 table to match font yMax and yMin from head table
14 years ago
notmasteryet
a0ef97fb60
Transfer defaultWidth for files without the file
14 years ago
notmasteryet
10a2fa66c2
Fixing defaultWidth; variables names
14 years ago
Artur Adib
1a79f3fb43
Changed exec flags of non-exec files (chmod -x)
14 years ago
Artur Adib
de253dcbe3
Check for stylesheet presence (font.js)
...
If doc doesn't have a stylesheet, create one.
14 years ago
Kalervo Kujala
b5412c13d8
Fix gjslint warnings.
14 years ago
Kalervo Kujala
8e5a8fb49f
Fix Mode comment lines.
14 years ago
Vivien Nicolas
538d26521d
Basic support for the embedded font file of CIDFontType0
14 years ago
Kalervo Kujala
0dc0dd4c97
fix jslint warnings in fonts.js
14 years ago
Vivien Nicolas
95ca8ede85
Add support for Type1C advanced charsets
14 years ago
Vivien Nicolas
ae0f5e6274
Fix a regression caused by the last patch to resolve the 'dotsection' issue
14 years ago
Vivien Nicolas
bcd8619414
Prevent the deprecated 'dotsection' command in Type1C to hit the sanitizer
14 years ago
notmasteryet
faf8b8ac0b
Refactoring charsToUnicode into charsToGlyphs
14 years ago
Vivien Nicolas
ac163da4c8
Fix a small mistake for cmap format 0
14 years ago
Vivien Nicolas
cf93f23178
Disable hinting until it works
14 years ago
Vivien Nicolas
13bf137220
Draw glyphs one by one to position them correctly and remove all the scaling hack
14 years ago
Vivien Nicolas
26a6b9763b
Be more generic for serif/sans-serif rule
14 years ago
Vivien Nicolas
6a518d53fe
Be more generic for bold/italic rules
14 years ago
Vivien Nicolas
574bc87741
Fix a small Type1 encoding parsing error that cause the first Type1 font of the Type1 spec to be rejected
14 years ago
Vivien Nicolas
6329f89982
Simplify the cmap format 6 conversion - fix #449
14 years ago
Vivien Nicolas
5cb2a07b3d
Fix an issue with the vhea/vmtx tables
14 years ago
Vivien Nicolas
841fabd4e9
Fix wrong spacing for format 6
14 years ago
Vivien Nicolas
a89e7331f4
Add a comment for using unit-per-em in the measureText() method
14 years ago
Vivien Nicolas
0ea9411f69
Prevent missing charcode to block the rendering
14 years ago
Vivien Nicolas
d4fb9c786c
Use the built-in widths to calculate glyphs metrics
14 years ago
Kalervo Kujala
d9e01b1d7a
Fix gjslint warnings.
14 years ago
Vivien Nicolas
81d7d1a725
Add widths information for the most common fonts cases
14 years ago
Vivien Nicolas
71d0f0d55c
Remove a useless check in charsToUnicode
14 years ago
Vivien Nicolas
567be29720
Add more glue between glyph mapping and code mapping
14 years ago