Julian Viereck
20a348fc0c
Fix lint errors
2011-10-09 10:51:36 +02:00
Julian Viereck
a6180830f8
Fix hello world example
2011-10-08 23:02:56 +02:00
Julian Viereck
90e2546ea3
Process fonts on main thread again - font handling works again
2011-10-08 22:22:30 +02:00
Julian Viereck
75884a6160
Hack something up that renders font right again
2011-10-08 18:15:18 +02:00
Julian Viereck
3054102d3b
Merge worker_pull with master
2011-10-08 14:18:23 +02:00
notmasteryet
0c8f0cd6c2
Fixing PDF bad structure and 'fi' ligature
2011-10-07 22:24:26 -05:00
notmasteryet
ecf0dd5bbb
Fixing #599
2011-10-05 21:15:41 -05:00
Julian Viereck
d7521f758a
Merge font and processor working into one worker and fix some bugs in font-loading-data-ready code
2011-10-05 22:24:38 +02:00
Adil Allawi
3b3f134e35
Merge commit 'e5d79fd0da5a0dab8b717062651c2fbd658a4b51'
2011-10-05 08:42:54 +01:00
Adil Allawi
535dc8cd7b
Remap all glyphs to Unicode Private Use Area if it is possible otherwise only remap minimum problematic glyphs
2011-10-05 08:42:13 +01:00
=
8f57135513
fix merge conflicts
2011-10-04 08:52:15 -07:00
Adil Allawi
3645ebe42c
Only offset glyphs that can fit into the private use area
2011-10-04 16:20:05 +01:00
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.
2011-10-04 16:18:38 +01:00
=
ff2dea38ec
fix merge conflicts
2011-10-03 17:18:47 -07:00
=
5f81017726
#502 Adding basic Type3 font support.
2011-10-03 16:36:01 -07:00
Julian Viereck
e9b6ffbaf6
Kill global objects
2011-10-02 22:17:32 +02:00
Julian Viereck
b69c6cba6e
Remove $ from property names.
2011-10-02 12:16:11 +02:00
Julian Viereck
0e8952681b
Add missing resolve for font obj and make sure image objs ids are strings as well
2011-10-01 16:15:51 +02:00
Julian Viereck
e6bd3d8105
Backup
2011-10-01 11:44:01 +02:00
notmasteryet
cd63fce80b
Moving CID-2 hack in fixWidths
2011-09-29 20:35:10 -05:00
notmasteryet
cbfbd93e7a
small fixes: index and formatting
2011-09-28 21:45:22 -05:00
notmasteryet
6403c91cbb
Fixes the special char codes... and unpack fix
2011-09-28 21:34:24 -05:00
notmasteryet
ab391c318d
Moving CID-0 encoding hack to fonts.js
2011-09-28 21:19:49 -05:00
notmasteryet
078433fecd
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into cid0
...
Conflicts:
pdf.js
2011-09-28 20:55:06 -05:00
notmasteryet
66cd79f308
Initial CID0 font encodings
2011-09-28 19:54:40 -05:00
Kalervo Kujala
800fc131b8
Use lowercase in function names.
...
This alleviates the confusion which functions can be instantiated with new.
2011-09-28 22:00:12 +03:00
Kalervo Kujala
9b14e80fd5
Use lowercase properly in function names.
2011-09-26 20:30:05 +03:00
Kalervo Kujala
481f242b5a
Fix lint warnings.
2011-09-23 20:56:21 +03:00
Kalervo Kujala
0d5efbe9fe
Name anonymous functions for debugging purposes.
...
It also makes profiling more convenient.
2011-09-23 20:44:48 +03:00
Vivien Nicolas
da6acb200a
Fix tests failure by cloning the GlyphsUnicode object
2011-09-22 13:39:28 +02:00
Vivien Nicolas
41ebb55d75
Fix tests failures
2011-09-22 01:22:34 +02:00
Vivien Nicolas
f3c20150bd
Fix lint errors and add metrics.js and charsets.js to the default set of pdf files in the Makefile
2011-09-20 04:26:37 +02:00
Vivien Nicolas
06a3b49e49
Merge with upstream
2011-09-20 03:42:34 +02:00
Andreas Gal
7df39bb065
Merge pull request #492 from notmasteryet/tree-19
...
Fixing the CID to GID mapping for cid fonts
2011-09-19 16:12:10 -07:00
vingtetun
7a81e79138
Merge pull request #466 from notmasteryet/charstoglyphs
...
Refactoring charsToUnicode into charsToGlyphs
2011-09-19 07:34:46 -07:00
notmasteryet
ebb9d7dd2c
Fix for 16-bit 'loca' table
2011-09-18 22:44:25 -05:00
notmasteryet
f401a64eb2
Sanitize 'loca' font table: some fonts have first glyph with length 10
2011-09-18 21:25:05 -05:00
notmasteryet
1c5b1cbc34
Fixing the CID to GID mapping for cid fonts (regression of arial_unicode_XX_cidfont.pdf)
2011-09-18 12:08:52 -05:00
notmasteryet
e59a36a015
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
2011-09-18 09:11:53 -05:00
notmasteryet
391ec1f99a
Moving defaultWidth into the charsToGlyphs function
2011-09-18 09:11:31 -05:00
Chris Jones
850cc6ce81
Merge pull request #486 from notmasteryet/tree-16
...
Fixing lint long lines warnings
2011-09-17 19:41:04 -07:00
notmasteryet
1f047495b1
Fixing large cmap-s; reduce changes in the indent encoding
2011-09-17 17:13:22 -05:00
notmasteryet
0b1b8da982
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
...
Conflicts:
test/test_manifest.json
2011-09-17 11:23:34 -05:00
notmasteryet
559bd070bf
Fixing lint long lines warnings
2011-09-16 19:53:52 -05:00
Adil Allawi
530d78e0f8
Added myself to the license (yay!)
...
Tweaked according to comments in pull request #482
2011-09-16 23:55:06 +01:00
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
2011-09-16 17:46:15 +01:00
Adil Allawi
cac74d7cb3
Fix OS/2 table to match font yMax and yMin from head table
2011-09-16 17:46:15 +01:00
Julian Viereck
06cef910fb
Cleanup Moz support in FontLoader
2011-09-15 23:27:22 -07:00
Julian Viereck
16e4d4ed97
Add support for WebKit using measure on canvas method
2011-09-15 23:14:35 -07:00
Julian Viereck
5ecbc64d8d
Backup
2011-09-15 22:46:44 -07:00