Commit Graph

55 Commits

Author SHA1 Message Date
Artur Adib
d9f1365b9c Merge pull request #1092 from notmasteryet/issue-940
Fixes type2 fonts conversion
2012-01-19 06:59:35 -08:00
Artur Adib
ee8c86d2b6 Merge pull request #1086 from notmasteryet/issue-1084
Use .sheet property instead of document.styleSheets
2012-01-18 09:25:37 -08:00
notmasteryet
85a0eccc7e Fallback map of the "non-standard" fonts 2012-01-16 18:10:48 -06:00
notmasteryet
2927f5e7bd Fixes type2 fonts conversion (#940) 2012-01-16 14:13:38 -06:00
notmasteryet
8b52b50c67 Use .sheet property instead of document.styleSheets 2012-01-15 15:19:51 -06:00
notmasteryet
09dfde69a2 Duplicate short map into private use area 2012-01-10 22:01:24 -06:00
notmasteryet
933be30c3a Converting MacRoman symbols to Unicodes 2012-01-10 19:41:45 -06:00
notmasteryet
550819b829 fix serif and symbol attribute detection for standard fonts 2012-01-09 21:15:18 -06:00
notmasteryet
a84fa13189 using font flags to recognize the symbol and serif fonts; using the encoding instead of predefined MacRoman in TrueType fonts 2012-01-09 19:36:24 -06:00
Christian Legnitto
03e39363b6 Add the style element to the head rather than first element in the document, as the first element could be a comment and this would line would then throw 2012-01-02 21:40:43 -08:00
notmasteryet
45ef8742ac type3 font.coded comment; proper geometery for showText; glyph name 2011-12-13 18:28:02 -06:00
notmasteryet
bed87284db Fixing Type3 text layer creation and character spacing 2011-12-12 21:32:20 -06:00
notmasteryet
315b089b28 (#919) Fixing toUnicode mapping for TrueType fonts with identity mapping 2011-12-09 21:21:58 -06:00
Brendan Dahl
853f16085f Merge pull request #909 from notmasteryet/tree-45
Fixing TrueType code-glyph assigmnent to pass sanitizer
2011-12-09 17:22:47 -08:00
notmasteryet
240bde97b2 Using 'in' instead of array index 2011-12-09 18:25:44 -06:00
Kalervo Kujala
cd01302de8 Merge remote-tracking branch 'upstream/master' into style
Conflicts:
	src/image.js
	src/pattern.js
2011-12-09 00:28:31 +02:00
Kalervo Kujala
1ef4c94de2 Name all constructors. 2011-12-09 00:18:43 +02:00
Artur Adib
7ea770fd08 Merge pull request #911 from notmasteryet/issue-906
(#906) fixing glyph width defined by glyph name
2011-12-08 07:02:23 -08:00
notmasteryet
301a6795db (#906) fixing glyph width defined by glyph name 2011-12-07 23:30:48 -06:00
notmasteryet
fa18c8022e remove glyph references outside range of avaialable glyphs 2011-12-07 21:38:34 -06:00
notmasteryet
18db087f79 Fixing TrueType code-glyph assigmnent to pass sanitizer 2011-12-07 20:59:44 -06:00
Artur Adib
9ea8668dcb Merge pull request #905 from notmasteryet/issue-886b
Fixing missing text (#886)
2011-12-07 10:11:46 -08:00
notmasteryet
7d64d3168f Revert int16 clamping for horizontal metrics 2011-12-07 06:47:52 -06:00
notmasteryet
9234c315d5 Fix the unicode symbols on the text layer 2011-12-06 22:59:06 -06:00
notmasteryet
fe02078c9d Fixing missing text (#886) 2011-12-06 22:13:14 -06:00
Artur Adib
9eae90a1ba Merge pull request #885 from notmasteryet/issue-884
(#884) Use unicode mapping cmap when simple identity cmap was originally used
2011-12-06 11:59:07 -08:00
Artur Adib
bf755f459e Merge pull request #870 from notmasteryet/issue-867
(#867) Set Type3 font encoding; enable text selection testing
2011-12-06 10:12:56 -08:00
Artur Adib
7edefbbe41 Merge pull request #846 from jviereck/feature_img_data
Add feature detection for using Uint8Array as imageData
2011-12-06 07:17:23 -08:00
notmasteryet
b8a5d6b8a7 Use unicode mapping cmap when simple identity cmap was originally used 2011-12-05 20:42:39 -06:00
Julian Viereck
cf7d4503d6 Address review comments: Introduce new CanvasGraphics.putBinaryImageData and make sure feature detection work always 2011-12-05 18:27:09 +01:00
notmasteryet
3ea81bf0a6 (#867) Set Type3 font encoding; enable text selection testing 2011-12-04 13:51:12 -06:00
notmasteryet
bb6e5c6e00 (#840) fix font stretching and overlapping characters encoding 2011-12-01 20:56:26 -06:00
notmasteryet
0414c0711f Fixing base encoding presence detection; character width scale 2011-11-29 22:06:00 -06:00
notmasteryet
683a8f0de8 Remove indexOf, using reverse map instead 2011-11-28 21:54:07 -06:00
notmasteryet
88310a09c2 Removing refreshToUnicode 2011-11-28 19:49:02 -06:00
notmasteryet
e4e864766d Fix CIDFontType2 large cmap tables 2011-11-28 19:47:37 -06:00
notmasteryet
08e3fd88ad Removing adaptUnicode; making cmap equal to ToUnicode tables 2011-11-27 20:43:23 -06:00
notmasteryet
709dc1a0c9 Initial ToUnicode modifications 2011-11-24 09:38:09 -06:00
notmasteryet
60744a8a61 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into encoding-2
Conflicts:
	src/evaluator.js
	src/fonts.js
2011-11-12 11:09:19 -06:00
notmasteryet
cd3ab6059d Merge pull request #748 from arturadib/for-cache
For-loop cache
2011-11-05 20:24:46 -07:00
Artur Adib
7d38d7f062 Missing var 2011-11-02 17:34:24 -04:00
Artur Adib
ddf77cda6b Using ii convention 2011-11-02 15:21:45 -04:00
Artur Adib
c8c5b4f8ea First iteration, tracemonkey/ecma262 working 2011-11-02 14:43:27 -04:00
Ionuț G. Stan
090b4d6647 Fix same origin policy issue when adding @font-face rules
If the first stylesheet in the document is located on an external domain, then
trying to access the `cssRules` property of that `CSSStyleSheet` object will
result in a Security error being thrown in Firefox. In Safari, `cssRules` will
be null, which causes a null pointer exception in the `styleSheet.cssRules.length`
expression.
2011-11-02 13:06:26 +02:00
notmasteryet
5d347b0ddb removing differences from the cmap 2011-10-30 23:32:06 -05:00
notmasteryet
aaad824f77 Fixing duplicates in cmap 2011-10-29 21:55:43 -05:00
notmasteryet
a1d2c1c6d3 Fix Type1 width; TrueType special characters 2011-10-29 14:19:13 -05:00
notmasteryet
343e174951 Change cmap encoding for Type 1 2011-10-29 09:29:19 -05:00
notmasteryet
38372ee2f2 TrueType encoding for files without font data 2011-10-29 08:45:29 -05:00
notmasteryet
7f038536fb Migration of the 'encoding-1' branch (ref #674) 2011-10-28 20:38:31 -05:00