Commit Graph

220 Commits

Author SHA1 Message Date
sbarman
085f8dc1c9 cleanup 2011-08-18 20:40:16 -07:00
sbarman
b1aab2f730 Fixed fonts to use strings instead of Uint8Arrays 2011-08-18 20:17:54 -07:00
sbarman
60127b0830 increased size of loaded font 2011-08-18 11:28:37 -07:00
sbarman
a24ec410ee cleanup 2011-08-17 16:04:14 -07:00
sbarman
8ff8a92244 Revert "Merge branch 'writeToFile' into hmm"
This reverts commit 9b91fca347, reversing
changes made to c592d5ed3b.
2011-08-17 16:00:54 -07:00
sbarman
bd567fc322 working font 2011-08-17 15:55:09 -07:00
sbarman
9f615036d9 Still testing type1 charstring conversion 2011-08-16 16:14:29 -07:00
sbarman
9b91fca347 Merge branch 'writeToFile' into hmm 2011-08-16 14:49:17 -07:00
sbarman
c592d5ed3b still mucking with subroutines 2011-08-16 14:49:12 -07:00
sbarman
23d37f98db working on subroutines 2011-08-16 10:25:02 -07:00
notmasteryet
b141a66309 Fixing bad comment 2011-08-14 12:11:23 -05:00
notmasteryet
aad77fcc55 BaseFont and misc fonts fixes 2011-08-14 08:40:22 -05:00
Kalervo Kujala
b2037841e5 Correct the coding style according to gjslint in font.js
Also refactor the lines that are over 80 characters long.
2011-08-11 21:41:03 +03:00
Kalervo Kujala
f656e841ac Correct the coding style according to gjslint.
And remove stray tabs.
2011-08-08 23:13:32 +03:00
notmasteryet
9bcf2d8b7c Fixing the maxAdvanceWidth and the amount of the missing sidebearing 2011-07-31 22:56:41 -05:00
Vivien Nicolas
aa41a75f6e Support standards fonts 2011-07-25 16:42:46 +02:00
sbarman
f177398777 Fixed the mapping from charstring to glyphs 2011-07-22 09:57:26 -07:00
sbarman
d502866111 cleanup code 2011-07-22 09:21:38 -07:00
sbarman
c4d81646dc fixed reading from sream 2011-07-21 15:18:00 -07:00
sbarman
5b43c25d56 removed unnecessary call to parseEncoding 2011-07-21 14:02:31 -07:00
sbarman
c67037e268 added ability to write data to file 2011-07-21 11:51:39 -07:00
sbarman
870027136a Merge branch 'master' into font 2011-07-21 11:29:15 -07:00
Vivien Nicolas
2197235470 Merge to upstream 2011-07-21 18:29:32 +02:00
sbarman
bed8052cab Merge branch 'master' into font 2011-07-21 09:09:25 -07:00
Vivien Nicolas
1d59de6c12 Fix a > 32000 conversion error in type1 to type2 charstring 2011-07-21 11:01:38 +02:00
sbarman
daf4979e2f cleanup 2011-07-20 17:10:04 -07:00
sbarman
8d09c0d7a4 removed Fonts class 2011-07-20 16:42:51 -07:00
sbarman
2f30dd5174 moved width setting code 2011-07-20 15:00:16 -07:00
sbarman
8824ff9539 removed code to parse type2 ccharstrings 2011-07-20 14:43:44 -07:00
sbarman
c7aec8ac8a used width info in fontDict 2011-07-20 12:57:47 -07:00
sbarman
8763002c44 extracted filetype in pdf.js instead of fonts.js 2011-07-20 11:25:00 -07:00
Vivien Nicolas
6311977fee Merge with upstream 2011-07-20 15:18:44 +02:00
Vivien Nicolas
3cc9912acd Add a simpler path for cmap format 0 to cmap format 4 2011-07-20 14:29:07 +02:00
sbarman
b8df2eb68b cleanup 2011-07-19 11:33:54 -07:00
sbarman
173c68ef86 cleanup 2011-07-19 11:30:42 -07:00
Vivien Nicolas
776c10d4e6 Fix a regression on the application of the textMatrix extracted from a CFF font 2011-07-19 14:29:05 +02:00
Vivien Nicolas
913504a937 Remover leftover 2011-07-19 14:23:57 +02:00
Vivien Nicolas
c6c72291d9 Do not rasterize below 14px 2011-07-19 14:22:51 +02:00
sbarman
5f133a8c07 fixed missing entries in charstring data 2011-07-18 21:01:05 -07:00
sbarman
226f3fa3ee add correct char width 2011-07-18 15:49:32 -07:00
sbarman
ed42423e3b working version, spacing not working 2011-07-18 12:22:04 -07:00
sbarman
a7d6f857da working on cff fonts 2011-07-18 08:24:57 -07:00
Vivien Nicolas
42653edf9a Add support for beginfbchar 2011-07-15 19:14:07 +02:00
sbarman
0090b2e696 added support for index, dictionary in cff 2011-07-15 08:58:09 -07:00
Vivien Nicolas
aea63a7051 Fix missing sidebearings from the hmtx table (see canvas.pdf) 2011-07-15 16:22:45 +02:00
Vivien Nicolas
e2d808a60f Switch length versus offset mistake in readTableEntry 2011-07-15 16:02:32 +02:00
Vivien Nicolas
b8fc365fff Fix the ranges duplication cleanup features 2011-07-15 15:41:30 +02:00
Vivien Nicolas
10e9694135 Support font with characters below 0x20 declared in format 1 cmap and be more general about the TrueType rewritting cases 2011-07-15 14:59:34 +02:00
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