Julian Viereck
a6180830f8
Fix hello world example
14 years ago
Julian Viereck
90e2546ea3
Process fonts on main thread again - font handling works again
14 years ago
Julian Viereck
75884a6160
Hack something up that renders font right again
14 years ago
notmasteryet
0c8f0cd6c2
Fixing PDF bad structure and 'fi' ligature
14 years ago
notmasteryet
ecf0dd5bbb
Fixing #599
14 years ago
Julian Viereck
d7521f758a
Merge font and processor working into one worker and fix some bugs in font-loading-data-ready code
14 years ago
Adil Allawi
535dc8cd7b
Remap all glyphs to Unicode Private Use Area if it is possible otherwise only remap minimum problematic glyphs
14 years ago
Adil Allawi
3645ebe42c
Only offset glyphs that can fit into the private use area
14 years ago
Adil Allawi
118668cb53
Fix regression caused by pull request #491 . Glyphs in positions that match complex scripts or special characters can be messed up by the browser when drawn to the canvas. Limit to fonts with a small to medium sized glyph set.
14 years ago
=
5f81017726
#502 Adding basic Type3 font support.
14 years ago
Julian Viereck
e9b6ffbaf6
Kill global objects
14 years ago
Julian Viereck
b69c6cba6e
Remove $ from property names.
14 years ago
Julian Viereck
0e8952681b
Add missing resolve for font obj and make sure image objs ids are strings as well
14 years ago
Julian Viereck
e6bd3d8105
Backup
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
Julian Viereck
06cef910fb
Cleanup Moz support in FontLoader
14 years ago
Julian Viereck
16e4d4ed97
Add support for WebKit using measure on canvas method
14 years ago
Julian Viereck
5ecbc64d8d
Backup
14 years ago
Julian Viereck
8e36114cfa
If the font isn't supported, don't handle it
14 years ago
notmasteryet
a0ef97fb60
Transfer defaultWidth for files without the file
14 years ago
notmasteryet
10a2fa66c2
Fixing defaultWidth; variables names
14 years ago
Julian Viereck
9e84dd35b6
Add Objects.clear() and fallback for testStr in FontMeasure
14 years ago
Julian Viereck
fa9f9e0a7a
Fix rebasing
14 years ago
Julian Viereck
22e938d53f
Addd font logs
14 years ago
Julian Viereck
9d2806ec87
Use canvas measureText to detect font loading
14 years ago
Julian Viereck
966cbc2112
Add FontShape.getRule which returns the name for the ctx object
14 years ago
Julian Vierec
86681a8d25
Add Objects.setData and Promise.data to set the data before the object/promise is resolved
14 years ago
Julian Viereck
6dcf9f42a5
Make font processing happen in a worker
14 years ago
Julian Viereck
6e9306afd2
Remove console.logs from previous commit again
14 years ago
Julian Viereck
e15bfc00a0
Fixing font loading issues
14 years ago