Commit Graph

203 Commits

Author SHA1 Message Date
Yury Delendik
b6ad7fd103 Defines at least one glyph if none was found 2012-10-15 11:08:50 -05:00
Yury Delendik
c129ecea8a Partially reverts #2239 due to reftest fails 2012-10-15 09:20:52 -05:00
Yury Delendik
62b2c5a030 Stops font processing when valid glyphs are absent in the font 2012-10-12 17:54:20 -05:00
Julian Viereck
e98eba1b11 Merge pull request #2127 from jviereck/text-algo-3
Use the text extracted in the getTextContent function for the divs of the textLayer.
2012-09-25 05:52:46 -07:00
Julian Viereck
f1e0edbaa9 Address Yurys review comments 2012-09-22 11:18:26 +02:00
Adil Allawi
5bc2934014 Handle normalization of Arabic Unicode Presentation Forms A to Arabic Unicode 2012-09-22 08:10:53 +01:00
Adil Allawi
c04b4c1679 Handle normalization of Arabic Unicode Presentation Forms B to Arabic Unicode 2012-09-21 18:36:59 +01:00
Brendan Dahl
47340d557c Merge pull request #2145 from yurydelendik/fix-export-keyword
Renaming export to exportData
2012-09-20 21:30:40 -07:00
Yury Delendik
75e928c102 Merge pull request #2058 from Pimm/master
Small fixes for normal and potential post-compilation bugs
2012-09-20 11:36:55 -07:00
Julian Viereck
36d358fff8 Don't use shadow() for spaceWidth as otherwise sendering the font over to the mainthread causes issues if the worker used the property and the main thread tries to assign the spaceWidth to the getter function 2012-09-20 17:10:52 +02:00
Yury Delendik
3d78ccd570 Renaming export to exportData 2012-09-20 09:38:59 -05:00
Brendan Dahl
81e708bf0f Merge pull request #2118 from yurydelendik/disable-font-hack
Removing font loading hack from MOZCENTRAL
2012-09-18 09:17:05 -07:00
Yury Delendik
ac7b6aeff4 Provides right fallback fonts for text layer 2012-09-14 11:17:35 -07:00
Yury Delendik
38bb3b4880 Removing font loading hack from MOZCENTRAL 2012-09-13 16:45:56 -07:00
Yury Delendik
e086cf36f4 Refactor text extraction / font loading logic 2012-09-13 15:12:42 -07:00
Yury Delendik
9fba150dd2 Move font translation to the worker 2012-09-12 17:31:04 -07:00
Brendan Dahl
59016bcf59 Merge pull request #2082 from yurydelendik/chrome-fontload
Workaround for chrome's issue 145227
2012-09-07 08:50:55 -07:00
Brendan Dahl
332ae4ce41 Change to the Apache v2 license. 2012-08-31 15:48:21 -07:00
Pimm Hogeling
0fbbc5a840 Syntax changed that will help minifiers/compilers (such as the Closure Compiler) in their processing. In particular, preventing said minifiers/compilers from making dangerous renames. 2012-08-31 13:40:37 +02:00
Pimm Hogeling
438e3c8f6d Fixes for subtile bugs that were introduced in 59283bdf6d and 99440ab691, among others. 2012-08-31 13:37:44 +02:00
Yury Delendik
deedb0a911 Workaround for chrome's issue 145227 2012-08-29 19:16:57 -05:00
Artur Adib
8e50da78ee Merge pull request #2050 from yurydelendik/issue-2040
Fixes incorrect font type and prevents future this.objs.objs[fonts[i]] ...
2012-08-29 14:47:32 -07:00
Yury Delendik
621686ca67 Fixes incorrect font type and prevents future this.objs.objs[fonts[i]] failures 2012-08-29 16:11:56 -05:00
Yury Delendik
e32ecc44d3 Fixes CFF test and CFF int16 parsing 2012-08-29 12:58:12 -05:00
Yury Delendik
93f9efde39 Fixes ascent and descent values for windows gdi 2012-08-29 12:19:09 -05:00
Yury Delendik
4550ffe14e Fixes fonts on linux 2012-08-29 10:31:59 -05:00
Brendan Dahl
d77bafa678 Merge pull request #1997 from yurydelendik/font-refact-1
Rectoring font loading concurency
2012-08-27 09:15:56 -07:00
Tom Schuster
fad38f8286 Update src/fonts.js
One simple thing that came up while looking at the new Octane benchmark.
2012-08-22 07:22:47 -05:00
Yury Delendik
4f20f5f1bb Verify the request id parameter 2012-08-17 16:56:47 -05:00
Yury Delendik
52d229761a Removing sum of the iframe times, browser does it for us 2012-08-17 16:08:42 -05:00
Yury Delendik
8459fef6c3 Cleanup: remove iframe and message handler 2012-08-17 14:00:35 -05:00
Yury Delendik
3c1d63055d Invoking callback via setTimeout 2012-08-17 11:32:34 -05:00
Yury Delendik
c414c76461 Fixes font loading concurency 2012-08-17 11:05:51 -05:00
Artur Adib
c9c5ae32d9 Merge pull request #1979 from yurydelendik/issue-1685
Discards invalid values for Blues
2012-08-16 09:58:10 -07:00
Brendan Dahl
590c6c413e Merge pull request #1978 from yurydelendik/issue-1655
Fixes bias calculation for type2 subr
2012-08-14 14:50:32 -07:00
Yury Delendik
972d08209a Discards invalid values for Blues 2012-08-11 23:05:41 -05:00
Yury Delendik
6277e6eda7 Fixes bias calculation for type2 subr 2012-08-11 20:10:31 -05:00
Yury Delendik
b4d75ca83b Adds callothersubr support 2012-08-11 11:57:42 -05:00
Brendan Dahl
69eca3c50f Use timeout for font ready callback to avoid intermittent chrome failures. 2012-08-06 08:51:20 -07:00
Brendan Dahl
792ef1b14d Support div number format for seac operator. 2012-07-20 15:53:39 -07:00
Brendan Dahl
6ed639e4d8 Merge branch 'master' of github.com:mozilla/pdf.js into seac 2012-07-20 15:12:09 -07:00
Brendan Dahl
34eb537160 Add another warning for malformed stack. Fix/add variable names. 2012-07-20 13:48:48 -07:00
Brendan Dahl
8fccd19948 Leave div commands on stack and change evaluation. 2012-07-19 18:06:37 -07:00
Brendan Dahl
ac005ed359 Support more type 1 font hsbw formats. 2012-07-18 16:23:51 -07:00
Brendan Dahl
c98b905e0d Add support for type 1 seac charstring command. 2012-07-11 16:29:07 -07:00
Alex Kwiatkowski & Daniel Yankowsky
00dbce612f Skip properties inherited from array.prototype 2012-07-11 11:45:28 -04:00
Yury Delendik
07a24c5589 Warn instead of fail for CID fonts 2012-06-28 07:51:18 -05:00
Yury Delendik
54db7489bd Merge pull request #1831 from brendandahl/priority-rendering
Change to priority/pausible rendering.
2012-06-27 12:44:58 -07:00
Brendan Dahl
8b0ec4b2b0 Merge pull request #1693 from benbro/master
Use a reusable style sheet instead of creating a new tag for each rule.
2012-06-18 13:06:45 -07:00
benbro
76a296cac4 Remove space at end of line. 2012-06-18 23:02:23 +03:00