Commit Graph

353 Commits

Author SHA1 Message Date
notmasteryet
1f532e6edb Long line fix 2011-10-10 22:40:43 -05:00
notmasteryet
04e467793b Fixing standard font name resolution (#649) 2011-10-10 21:14:40 -05: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
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
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
notmasteryet
582b760a65 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs 2011-09-15 19:50:55 -05:00
notmasteryet
a0ef97fb60 Transfer defaultWidth for files without the file 2011-09-15 19:32:36 -05:00
notmasteryet
10a2fa66c2 Fixing defaultWidth; variables names 2011-09-15 19:26:32 -05:00
Vivien Nicolas
a217e7a121 Merge remote branch 'upstream/master' into metrics 2011-09-15 20:07:38 +02:00
Artur Adib
1a79f3fb43 Changed exec flags of non-exec files (chmod -x) 2011-09-15 09:41:52 -07:00
Artur Adib
de253dcbe3 Check for stylesheet presence (font.js)
If doc doesn't have a stylesheet, create one.
2011-09-14 16:26:36 -07:00
notmasteryet
40e0cb40a6 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
Conflicts:
	fonts.js
2011-09-12 18:14:18 -05:00
Kalervo Kujala
b5412c13d8 Fix gjslint warnings. 2011-09-12 20:42:55 +03:00
Kalervo Kujala
8e5a8fb49f Fix Mode comment lines. 2011-09-12 20:37:33 +03:00
Vivien Nicolas
538d26521d Basic support for the embedded font file of CIDFontType0 2011-09-12 18:32:46 +02:00
Kalervo Kujala
0dc0dd4c97 fix jslint warnings in fonts.js 2011-09-11 23:04:17 +03:00