Commit Graph

1866 Commits

Author SHA1 Message Date
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
Artur Adib
418c1d5454 Merging #478 #483 2011-09-16 08:45:20 -07:00
Artur Adib
e2b1cf1baf Minor 2011-09-16 08:28:59 -07:00
Artur Adib
f3745f7c13 New README, .gitignores; Makefile
Makefile: commented out unnecessary closure download and shell testing (at least until someone decides to work on this).
2011-09-16 08:28:59 -07:00
Artur Adib
bc91b98fc8 Addressing comments by Vivien 2011-09-16 08:28:42 -07:00
Artur Adib
3476364886 Moved helloworld/ to examples/helloworld/ 2011-09-16 08:28:42 -07:00
Artur Adib
6e29034912 Hello World example
Perhaps the simplest use of pdf.js.

See README.md in the new folder
2011-09-16 08:28:42 -07:00
notmasteryet
f57972d925 Merge branch '07254bb0a5' 2011-09-15 22:16:09 -05:00
Chris Jones
28ea0cef7e Merge pull request #479 from arturadib/exec-flags
Removed exec flags of non-exec files (chmod -x)
2011-09-15 16:01:02 -07:00
Kalervo Kujala
07254bb0a5 Fix small lint warnings. 2011-09-15 23:32:44 +03:00
Artur Adib
1a79f3fb43 Changed exec flags of non-exec files (chmod -x) 2011-09-15 09:41:52 -07:00
Chris Jones
3006c090ad Merge pull request #477 from arturadib/sanity-checks
Sanity checks
2011-09-14 21:56:34 -07:00
Artur Adib
151694cce1 Merge branch 'refs/heads/check-stylesheet' into continuation-check 2011-09-14 16:31:50 -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
Artur Adib
5587cce165 Check for continuation callback 2011-09-14 11:59:20 -07:00
Andreas Gal
4dd79a51c1 Merge pull request #474 from notmasteryet/tree-15
Fixing truncated streams with multiple filters
2011-09-13 20:15:49 -07:00
Chris Jones
78528b6d04 Merge pull request #473 from notmasteryet/tree-14
Fixing and optimizing isYcckImage()
2011-09-13 20:03:56 -07:00
notmasteryet
361d53e1a9 Fixing truncated streams with multiple filters 2011-09-13 22:03:46 -05:00
Andreas Gal
2132a2f57c Merge pull request #472 from notmasteryet/artofwar
Disable encryption when a ToUnicode stream is used in a font
2011-09-13 19:36:55 -07:00
notmasteryet
4e1a5296d2 Fixing and optimizing isYcckImage() 2011-09-13 20:24:24 -05:00
notmasteryet
a78704567c Merge pull request #471 from kkujala/master
Use values instead of undefined in array initializations.
2011-09-13 17:57:30 -07:00
notmasteryet
94da20d776 Disable encryption when a ToUnicode stream is used in a font 2011-09-13 19:23:49 -05:00
Kalervo Kujala
7a421794a2 Use zeroes in PDFStringTranslateTable array instead of undefined. 2011-09-13 20:56:59 +03:00
Kalervo Kujala
9857287806 Use empty strings in zaph dingbats shadow encodings array instead of undefined. 2011-09-13 20:52:05 +03:00
Kalervo Kujala
67e264e579 Use empty strings in symbols shadow encodings array instead of undefined. 2011-09-13 20:47:13 +03:00
Kalervo Kujala
2b4e722a1c Use empty strings in win ansi shadow encodings array instead of undefined. 2011-09-13 20:42:31 +03:00
Kalervo Kujala
7a1c02bc9e Use empty strings in standard shadow encodings array instead of undefined. 2011-09-13 20:30:41 +03:00
Kalervo Kujala
68ceff4081 Use empty strings in mac roman shadow encodings array instead of undefined. 2011-09-13 20:17:05 +03:00
Kalervo Kujala
1d91f595d8 Merge remote-tracking branch 'upstream/master' 2011-09-13 20:08:42 +03:00
notmasteryet
3ea4e25fb3 Merge pull request #470 from kkujala/master
Small fixes for comments and lint
2011-09-12 16:11:25 -07:00
Kalervo Kujala
9256a62304 Use empty strings in mac shadow encodings array instead of undefined. 2011-09-12 22:04:43 +03:00
Kalervo Kujala
30b8d1dd08 Use empty strings in shadow encodings array instead of undefined. 2011-09-12 21:05:52 +03: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
Chris Jones
5692dda43f Merge pull request #469 from kkujala/master
fix jslint warnings in fonts.js
2011-09-11 23:27:10 -07:00
notmasteryet
f16a90bcad Merge pull request #468 from kkujala/master
fix jslint warnings
2011-09-11 13:32:48 -07:00
Kalervo Kujala
0dc0dd4c97 fix jslint warnings in fonts.js 2011-09-11 23:04:17 +03:00
Kalervo Kujala
07662cf035 fix jslint warnings
jslint revealed unused and misspelled variable names. Also some code was
refactored to be more simple.
2011-09-11 22:54:00 +03:00
notmasteryet
beea86db31 Merge pull request #464 from notmasteryet/4e21e417cdf56a1ba43475510284b3399c4f7b52
Fix test_slave.html for #458
2011-09-10 17:35:01 -07:00
notmasteryet
e523e4dc56 Merge pull request #458 from vingtetun/metrics
Fix for issue #441, #412, #379
2011-09-10 17:27:20 -07:00
Andreas Gal
501a224128 Merge pull request #462 from notmasteryet/bug674619
JPEG marker for YCCK images (in support of bug 674619)
2011-09-10 12:37:03 -07:00
Andreas Gal
32393db2fc Merge pull request #461 from kkujala/master
Refactor the repeat logic in readBlock function.
2011-09-10 11:56:26 -07:00
notmasteryet
ee21d4113f JPEG marker for YCCK images (in support of bug 674619) 2011-09-10 13:45:55 -05:00
Vivien Nicolas
7fa63e68dd Merge with upstream 2011-09-10 20:12:57 +02:00
Vivien Nicolas
ac163da4c8 Fix a small mistake for cmap format 0 2011-09-10 20:02:42 +02:00
Vivien Nicolas
cf93f23178 Disable hinting until it works 2011-09-10 20:00:27 +02:00
Vivien Nicolas
13bf137220 Draw glyphs one by one to position them correctly and remove all the scaling hack 2011-09-10 19:40:25 +02:00
Kalervo Kujala
d54e425a96 Refactor the repeat logic in readBlock function.
In the function repeat the variabe i is not defined in the scope of the
function. This function was from moved by
92fa629d10 from its original place which had
the i as defined. This fix avoids the scope dependency.
2011-09-10 20:06:03 +03:00
Vivien Nicolas
26a6b9763b Be more generic for serif/sans-serif rule 2011-09-10 16:49:40 +02:00