Julian Viereck
|
a33ba145bf
|
Don't compute the string for the TextLayer in the canvas backend anymore and change the syntax of appendText
|
2012-09-20 17:15:55 +02:00 |
|
Julian Viereck
|
3d0e6da2ff
|
Move some more font conversion into loadFont function to make type3 fonts work for now
|
2012-09-20 17:12:36 +02: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 |
|
Julian Viereck
|
fdb6a013c9
|
Fix unitialized text/dirs array
|
2012-09-20 17:10:52 +02:00 |
|
Julian Viereck
|
a525492f65
|
Make lint happy
|
2012-09-20 17:10:51 +02:00 |
|
Julian Viereck
|
6bc2a0b84a
|
Remove spaces that don't make sense when using the text in divs
|
2012-09-20 17:10:51 +02:00 |
|
Julian Viereck
|
e22fc80d3e
|
Add handling for gs in getTextContent
|
2012-09-20 17:10:51 +02:00 |
|
Julian Viereck
|
bd4434a7ea
|
Apply bidi algorithm to the text in the worker
|
2012-09-20 17:10:51 +02:00 |
|
Julian Viereck
|
8d6565d1a8
|
Change the format of the BidiResult object.
|
2012-09-20 17:10:51 +02:00 |
|
Julian Viereck
|
897b99500e
|
Fix typos that prevent space insertion for showSpaced in getTextContent
|
2012-09-20 17:10:51 +02:00 |
|
Julian Viereck
|
7432e596a1
|
Improve the space detection for the getTextContent function
|
2012-09-20 17:08:43 +02:00 |
|
Julian Viereck
|
9b9de87ac4
|
Undo some changes for now until there is support for font.spacedWidth
|
2012-09-20 17:08:43 +02:00 |
|
Julian Viereck
|
3a8426e179
|
Fix typo in new return value of bidi function
|
2012-09-20 17:08:42 +02:00 |
|
Julian Viereck
|
83c499595c
|
Change the PDFJS.bidi function calls slightly to avoid creating a seperate object to pass to PDF.JS bidi and just pass in a string
|
2012-09-20 17:08:42 +02:00 |
|
Julian Viereck
|
668c2867d4
|
Change the format of textContent to be an array
|
2012-09-20 17:01:16 +02:00 |
|
Julian Viereck
|
a38c4bc729
|
Make getTextContent return offset array and improve the algorithm. Make
parts in viewer.js work again.
|
2012-09-20 17:01:15 +02:00 |
|
Julian Viereck
|
43f2db30b3
|
Fix current.x for type3 font word break
|
2012-09-19 22:19:21 +02: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 |
|
Brendan Dahl
|
8dc49a3c9b
|
Merge pull request #2124 from yurydelendik/fallback-font
Provides right fallback fonts for text layer
|
2012-09-17 10:06:42 -07:00 |
|
Yury Delendik
|
8d506212a8
|
Adds heuristic for monospace font detection
|
2012-09-16 14:38:30 -05:00 |
|
Yury Delendik
|
ac7b6aeff4
|
Provides right fallback fonts for text layer
|
2012-09-14 11:17:35 -07:00 |
|
Yury Delendik
|
45741c33a5
|
Fixes RTL text extraction
|
2012-09-14 10:26:46 -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 |
|
Yury Delendik
|
40eb44eae4
|
Merge pull request #1809 from brendandahl/shading-extend
Adds support for the extend option for linear and radial shadings.
|
2012-09-11 05:24:53 -07:00 |
|
Brendan Dahl
|
164931d2fc
|
Adds background support for gradient.
Warns on case when we don't handle radial gradients correctly.
Fixes chrome extend gradients.
|
2012-09-10 13:23:07 -07:00 |
|
Julian Viereck
|
bd0e42220b
|
Merge pull request #2089 from yurydelendik/remove-currenttransf
Removes unnecessary ctx.mozCurrentTransformInverse transforms
|
2012-09-08 08:59:21 -07:00 |
|
Brendan Dahl
|
455bb6d98c
|
Merge pull request #2076 from kkujala/dev
Add initial TilingType support.
|
2012-09-07 15:39:28 -07:00 |
|
Yury Delendik
|
954ea97158
|
Removes unnecessary ctx.mozCurrentTransformInverse transforms
|
2012-09-07 11:00:05 -05: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 |
|
Kalervo Kujala
|
5f202e1596
|
Add initial TilingType support.
|
2012-09-05 22:36:20 +03:00 |
|
Brendan Dahl
|
76d877e48b
|
Strip out license for bundled version.
|
2012-09-04 10:22:32 -07:00 |
|
Brendan Dahl
|
332ae4ce41
|
Change to the Apache v2 license.
|
2012-08-31 15:48:21 -07: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 |
|
Brendan Dahl
|
33f7e86171
|
Merge pull request #2047 from yurydelendik/font-linux
Fixes fonts on linux
|
2012-08-29 12:35:25 -07: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 |
|
Brendan Dahl
|
d26ecff294
|
Reduce math for color key mask.
|
2012-08-29 09:36:12 -07:00 |
|
Yury Delendik
|
4550ffe14e
|
Fixes fonts on linux
|
2012-08-29 10:31:59 -05:00 |
|
Brendan Dahl
|
19fa6a5260
|
Adds support for color key mask.
|
2012-08-28 17:19:31 -07: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 |
|
Yury Delendik
|
a89cb5dd7a
|
Disables symbolic encoding for non-standard fonts
|
2012-08-24 08:05:06 -05:00 |
|
Yury Delendik
|
296b98f977
|
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into progress-indeterminate
Conflicts:
extensions/firefox/components/PdfStreamConverter.js
|
2012-08-23 15:23:44 -05:00 |
|
Yury Delendik
|
cd1a645881
|
Adds support of the indeterminate loading progress
|
2012-08-22 10:48:56 -05: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
|
51b2587340
|
Copy decoded image data and keeps non-decoded pixes as transparent
|
2012-08-20 15:57:21 -05:00 |
|
Yury Delendik
|
4f20f5f1bb
|
Verify the request id parameter
|
2012-08-17 16:56:47 -05:00 |
|