Commit Graph

172 Commits

Author SHA1 Message Date
Adil Allawi
06986bb15f nits, picked 2011-07-13 17:46:48 +01:00
Adil Allawi
0906cc8c94 Bump up the max font file size. Composite fonts can be larger than simple fonts. Once we support Japanese we will need to reconsider how this is done as a large Japanese font may be up to 30Mb in size. 2011-07-13 09:38:39 +01:00
Adil Allawi
36763e8e82 Fully support truetype composite fonts, clean up 2011-07-13 09:31:34 +01:00
Adil Allawi
6b6e97dff6 cleanup, added new flag to the font properties called compositeFont. If true, the encoding and ShowText strings must be multi-byte 2011-07-12 03:58:09 +01:00
Adil Allawi
7b8542c6a7 Second pass CIDFont support - make Arial Unicode in OpenOffice PDF
- supports PDF fonts with CIDtoGIDMap and no cmap
2011-07-11 17:41:55 +01:00
notmasteryet
9b69997046 Clearing font checksum adjustment field 2011-07-10 16:47:09 -05:00
Andreas Gal
6ef9e77b8a Merge pull request #232 from notmasteryet/cff-issues2
CFF issues: cmap length, PS-name removal, Private Dictionary
2011-07-10 02:01:08 -07:00
Chris Jones
7f9c9f5ba2 work around #233 so that tests stop failing for the moment 2011-07-09 22:12:42 -07:00
Chris Jones
671dd3b0e8 back out bad font measurement changes 2011-07-09 21:43:28 -07:00
notmasteryet
75758ffec5 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into cff-issues2 2011-07-09 23:30:40 -05:00
notmasteryet
37315af515 fix 'private' keyword 2011-07-09 23:24:24 -05:00
notmasteryet
67f133dea7 CFF/OTF font and sanitizer friendly fixes 2011-07-09 23:12:11 -05:00
Chris Jones
fb9b8b6417 Merge pull request #226 from andreasgal/staging
simplify font measurement code, bug is now fixed in nightlies, no need to
2011-07-09 16:51:04 -07:00
Andreas Gal
adb619941c simplify font measurement code, bug is now fixed in nightlies, no need to hack around it 2011-07-08 19:28:24 -07:00
Andreas Gal
f2a4756c77 backout font measurement change, it is breaking tests 2011-07-08 18:51:20 -07:00
Andreas Gal
5bf4fcba9b properly fix font loading, shaon's code didn't work after all 2011-07-08 18:45:38 -07:00
Andreas Gal
3fb2b026bf Merge pull request #224 from sbarman/master
fix to bug with detected font loading
2011-07-08 18:39:32 -07:00
sbarman
c06c14a72a fix to font loading code 2011-07-08 18:24:22 -07:00
Andreas Gal
4a7fe7cb5d move text measurement into Font 2011-07-08 17:57:03 -07:00
Andreas Gal
0b6c0db931 move unicode translation cache into Font 2011-07-08 16:36:50 -07:00
Andreas Gal
f6eb9cecd3 avoid font lookup by id in showText 2011-07-08 14:58:19 -07:00
Andreas Gal
d3979e4ac2 Merge pull request #219 from sbarman/font
Font code cleanup, avoid name collisions
2011-07-08 11:06:54 -07:00
sbarman
7b659fd605 fixed case when font cannot be found 2011-07-08 10:04:52 -07:00
sbarman
4404871212 fixed font loading bug 2011-07-08 08:14:34 -07:00
Andreas Gal
7fb940c4ba revert a couple changes from the last merge 2011-07-08 01:02:14 -07:00
Andreas Gal
df79f10f2f Merge pull request #214 from saebekassebil/master
Dict object improvements. Performance.
2011-07-08 00:59:00 -07:00
sbarman
619a521678 minor fix 2011-07-07 17:37:27 -07:00
sbarman
c39eae3ce9 fixed up minor bugs 2011-07-07 17:15:53 -07:00
sbarman
8ac2367fa0 not refer fonts by name, instead use id 2011-07-07 16:48:04 -07:00
Saebekassebil
dc9316db2d Better debug at glyphs 2011-07-07 17:03:24 +02:00
Andreas Gal
6eaad13132 remove fontCount/fontName/kDisableFonts debug hacks and fix bug in font loading 2011-07-06 22:14:48 -07:00
Andreas Gal
3557bae461 temporary revert a change in the font code to make mac fonts work again 2011-07-06 16:06:00 -07:00
notmasteryet
4169fe151d Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into cff-issues
Conflicts:
	fonts.js
2011-07-06 08:16:07 -05:00
notmasteryet
70164163de fixing CFF things to pass FontValidator 2011-07-06 08:12:41 -05:00
Rob Sayre
f5a3587dde Almost passing gjslint. 2011-07-05 23:06:45 -07:00
Chris Jones
2dc1ff98ac built-in fonts are not cached 2011-07-05 00:02:09 -04:00
Chris Jones
122d168b51 fix some bugs 2011-07-04 23:28:44 -04:00
Chris Jones
fe09c1852c handle font names with comments (fix fix of hack hack) 2011-07-04 18:21:13 -04:00
Vivien Nicolas
ac5db21fb1 Let Chrome (and others?) show TrueType fonts 2011-07-03 22:29:46 +02:00
Vivien Nicolas
cdff127eef Let Chrome (and others?) handle Type1 Fonts (TrueType not working yet) 2011-07-03 14:52:00 +02:00
Vivien Nicolas
f58983f4e5 Clean up Fonts.convert() 2011-07-03 01:17:28 +02:00
Vivien Nicolas
b390a03a1d Merge branch 'master' of https://github.com/andreasgal/pdf.js 2011-07-02 07:54:58 +02:00
Vivien Nicolas
d28c0cb41e Get rid of FontsUtils 2011-07-02 07:54:28 +02:00
Chris Jones
818f79986b work around chrome bug, and work around ff5 bug in the workaround 2011-07-01 22:19:02 -07:00
Vivien Nicolas
a600a3d2ce Fix bustage while merging 2011-07-02 06:01:43 +02:00
Vivien Nicolas
41d4738289 Merge with upstream 2011-07-02 05:50:59 +02:00
Vivien Nicolas
3e78538c1c Remove cmap format 100, fixes some nits to merge with upstream 2011-07-02 05:46:50 +02:00
Vivien Nicolas
3726686d22 Add a format100 table for Mac 2011-07-02 02:44:57 +02:00
Vivien Nicolas
3dcf65d9df Fix a small issue in the waiting for font to load code 2011-07-02 01:01:55 +02:00
Vivien Nicolas
d10cf7c929 Reland commit 442d184 but make it works with uncompressed PDF 2011-07-02 00:19:24 +02:00