Commit Graph

2219 Commits

Author SHA1 Message Date
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
Andreas Gal
fe01091053 Merge pull request #489 from notmasteryet/tree-18
Modifying how the artofwar encryption handled
2011-09-17 09:04:49 -07:00
notmasteryet
1d00b89285 Modifying how the artofwar encryption handled; add wdsg_fitc as reftest 2011-09-17 10:32:42 -05:00
notmasteryet
fc574f646a Fixing double metrics issue for glyphs (#484) 2011-09-16 22:49:43 -05:00
notmasteryet
559bd070bf Fixing lint long lines warnings 2011-09-16 19:53:52 -05:00
vingtetun
82745def0a Merge pull request #482 from ironymark/master
FIxed Ascent and Descent in OS/2 table
2011-09-16 17:41:09 -07: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
cc661f44af Fix regression in PDFFunction 2011-09-16 09:32:10 -07:00
Julian Viereck
00290b9ff4 Rename some stuff and add missing font_handler.js 2011-09-16 09:31:12 -07: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
Julian Viereck
921f8bd669 Tried to add a destroy function to free memeory, but doesn't seem to help 2011-09-16 08:09:58 -07:00
Julian Viereck
20d8a13c9e Don't stop executeIRQueue if there is no continueCallback. What a wonderful world it would be with generators :( 2011-09-16 00:22:20 -07:00
Julian Viereck
0f6bf30228 Add dependency for dependecies on sub getIRQueue 2011-09-16 00:11:23 -07:00
Julian Viereck
8f21f87fd9 Add firstPage option to tasks to speed up testing certain pages 2011-09-15 23:36:08 -07: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
Julian Viereck
8e36114cfa If the font isn't supported, don't handle it 2011-09-15 21:54:47 -07:00
notmasteryet
f57972d925 Merge branch '07254bb0a5' 2011-09-15 22:16:09 -05: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
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
Julian Viereck
845230d8b0 Ensure fonts loaded in caes you load fonts out of line 2011-09-15 15:08:53 -07:00
Julian Viereck
9e84dd35b6 Add Objects.clear() and fallback for testStr in FontMeasure 2011-09-15 14:06:24 -07:00
Kalervo Kujala
07254bb0a5 Fix small lint warnings. 2011-09-15 23:32:44 +03:00
Julian Viereck
fa9f9e0a7a Fix rebasing 2011-09-15 13:17:10 -07:00
Julian Viereck
22e938d53f Addd font logs 2011-09-15 13:17:09 -07:00
Julian Viereck
18ce3ebaed Just use imageData directly on Gecko 2011-09-15 13:17:09 -07:00
Julian Viereck
9d2806ec87 Use canvas measureText to detect font loading 2011-09-15 13:17:09 -07:00
Julian Viereck
966cbc2112 Add FontShape.getRule which returns the name for the ctx object 2011-09-15 13:17:09 -07:00
Julian Vierec
86681a8d25 Add Objects.setData and Promise.data to set the data before the object/promise is resolved 2011-09-15 13:17:09 -07:00
Julian Viereck
6dcf9f42a5 Make font processing happen in a worker 2011-09-15 13:17:09 -07:00
Julian Viereck
e9fff5968e Remove worker/boot.js 2011-09-15 13:17:09 -07:00
Julian Viereck
9eb7858586 Fix 2011-09-15 13:16:03 -07:00
Julian Viereck
d639a9a94a Remove no longer needed worker files, rename boot to boot_processor 2011-09-15 13:16:03 -07:00
Julian Viereck
6e9306afd2 Remove console.logs from previous commit again 2011-09-15 13:16:03 -07:00
Julian Viereck
e15bfc00a0 Fixing font loading issues 2011-09-15 13:16:03 -07:00
Julian Viereck
dd9aea21e9 Trying to implement progressive font rendering. Works on FF, but Chrome doesn't catchup the fonts 2011-09-15 13:16:03 -07:00
Julian Viereck
ac11f30ae9 Send JpegStreams to the main thread ASAP. No need for ImagesLoader anymore 2011-09-15 13:16:03 -07:00
Julian Viereck
32ae879219 Stop the execution if it takes longer then a certain amount of time and reshedule it 2011-09-15 13:16:03 -07:00
Julian Viereck
a228753414 Add missing metrics.js for worker 2011-09-15 13:13:00 -07:00