Commit Graph

892 Commits

Author SHA1 Message Date
Yury Delendik
1826daa1d5 Refactors rescaleImage: improving quality of scanned images 2012-12-21 19:10:21 -06:00
Brendan Dahl
acf64b3164 Add support for hmoveto and vmoveto during flex. 2012-12-20 11:14:10 -08:00
Yury Delendik
a2c6429cce Merge pull request #2465 from brendandahl/fix-expansion-factor
Fix cff private dictionary key.
2012-12-15 20:53:11 -08:00
Jakob Miland
4efab13c58 Support Filespec dictionary in annotations 2012-12-15 00:36:53 +01:00
Brendan Dahl
852ff7753b Fix cff private dictionary key. 2012-12-14 12:44:39 -08:00
Brendan Dahl
78498ce648 Merge pull request #2448 from yurydelendik/issue-2386
Fixes encoding in CFF fonts
2012-12-11 13:31:15 -08:00
Brendan Dahl
6ae135539d Warn on opentype fonts. 2012-12-10 14:59:23 -08:00
Brendan Dahl
b4adbe4967 Merge pull request #2417 from yurydelendik/inline-images
Removes "too many inline images" limit
2012-12-10 09:32:24 -08:00
Yury Delendik
b63da8bc82 Fixes encoding reading in CFF fonts 2012-12-09 12:57:40 -06:00
Yury Delendik
cae62341ac Split large image groups into smaller chunks 2012-12-07 17:19:06 -06:00
Yury Delendik
a0bc215a86 Removes comment per #2372 2012-12-07 14:28:17 -06:00
Yury Delendik
d71c702dcf Removes "too many inline images" limit 2012-12-07 12:19:43 -06:00
Brendan Dahl
0910c5e68e Merge pull request #2425 from yurydelendik/detect-fonts-off
Detecting if web fonts are disabled in Firefox.
2012-12-06 13:30:07 -08:00
Yury Delendik
859aad138c Merge pull request #2432 from yurydelendik/setDash
Using setListDash for dashed lines
2012-12-04 13:58:48 -08:00
Brendan Dahl
39038b7377 Rescale regular images manually if they are too big. 2012-12-04 09:36:42 -08:00
Yury Delendik
a7f0e9612a Using setDash for dashed lines 2012-12-04 08:26:10 -06:00
Yury Delendik
500421ddd2 Fixes "TypeError: info is undefined" 2012-11-30 17:36:39 -06:00
Yury Delendik
3346c284ab Excluding Type3 fonts from the check; removing dead code 2012-11-30 17:31:22 -06:00
Yury Delendik
5dc87a7fca Detecting if web fonts are disable in Firefox. 2012-11-30 17:08:19 -06:00
Yury Delendik
0dc137a0df Refactors Lab CS; uses different conversion for D50 and D65; adds getRgbItem 2012-11-30 12:46:55 -06:00
Yury Delendik
223ad0c117 Merge pull request #2418 from yurydelendik/refactor-cs
Initial refactoring to reduce amount of getRgb calls and objects creation
2012-11-30 07:01:20 -08:00
Yury Delendik
0029b34d45 Refactors getRgb and makeCssRgb calls; reduces amount of created objects 2012-11-29 17:11:51 -06:00
Brendan Dahl
abaed05174 Merge pull request #2346 from yurydelendik/info
Adds basic PDF info
2012-11-29 12:30:06 -08:00
Brendan Dahl
00fad28284 Merge pull request #2406 from yurydelendik/issue-2006
Fixes function array support for radial/axial pattern
2012-11-29 12:26:50 -08:00
Yury Delendik
2c87a6467b Fixes function array support for radial/axial pattern 2012-11-24 15:13:13 -06:00
Christian Mehlis
e95fbb3860 Update src/obj.js
fix Issue #1523
2012-11-24 21:31:05 +01:00
khodzha
18da086b96 fix of combineUrl(baseUrl, url) in case of url - null, empty, undefined + unittests 2012-11-24 04:25:49 +04:00
Yury Delendik
033545cc16 Merge pull request #2392 from benbro/master
Workaround for Private Use Area characters in Chrome on Windows
2012-11-16 14:23:26 -08:00
benbro
9841bc3e8e Workaround for Private Use Area characters in Chrome on Windows 2012-11-16 23:49:02 +02:00
Brendan Dahl
9910699fac Merge pull request #2385 from yurydelendik/issue-2374
Rejects post table if maxp numGlyph does not match
2012-11-16 13:46:11 -08:00
Nicolas Pierron
f5e8838bb0 Ensure the loop counter is not interpreted as a double.
This patch improves pure JavaScript performances by 30% by removing double computations from Type1Parser_extractFontProgram. When parseInt is fed with non numerical values, it returns a NaN which flows into the loop counter which cause every operation to be computed as a double and every index to be trunctated as an int before reading a character.  This patch force the NaN value to be coerce as an integer by using a bitwise-or operation with zero.
2012-11-16 02:33:32 -08:00
Yury Delendik
0646d397eb Rejects post table if maxp numGlyph does not match 2012-11-14 16:17:06 -06:00
Brendan Dahl
d302746c6b Merge pull request #2352 from yurydelendik/issue-1718
Cleaning name table
2012-11-13 10:58:27 -08:00
Brendan Dahl
8d3980a43a Merge pull request #2263 from yurydelendik/tables-removal
Attempt to remove vtmx, and vhea tables...
2012-11-13 09:30:40 -08:00
Yury Delendik
05148e8e7d Removes vtmx and vhea tables; sanitizes fpgm and prep 2012-11-12 21:10:20 -06:00
Brendan Dahl
9f460a9a8f Merge pull request #2251 from yurydelendik/validate-charstrings
Validates type2 charstrings
2012-11-12 11:53:04 -08:00
waddlesplash
32fbf687ab Refactor names in various files.
web/viewer.js
src/fonts.js (& remove unused global)
src/evaluator.js
src/canvas.js
2012-11-10 14:59:13 -05:00
Yury Delendik
68ab17e4a3 Cleaning name table 2012-11-07 18:24:13 -06:00
Yury Delendik
610215bada Validate charstrings 2012-11-07 13:56:17 -06:00
Yury Delendik
4da7be8d28 Verifies some of the OS2 font table fields 2012-11-07 11:11:36 -06:00
Yury Delendik
fbe3d71663 Re-creates invalid post table 2012-11-07 11:03:08 -06:00
Yury Delendik
725195b65f Fixes compressed object entries caching 2012-11-06 12:05:59 -06:00
Yury Delendik
1f56d242ff Adds basic PDF info 2012-11-05 11:12:17 -06:00
Brendan Dahl
68cb985083 Merge pull request #2341 from yurydelendik/issue-2337
Fixes stream loading for XRefStm
2012-11-02 12:54:48 -07:00
Yury Delendik
35af48123a Fixes stream loading for XRefStm 2012-11-02 08:26:45 -05:00
Yury Delendik
37fb625e87 Fixes lineWidth/scale calculation for the fonts 2012-11-02 08:10:22 -05:00
Ben Browitt
19faf4b9eb Fix closure compiler warnings. 2012-10-31 17:31:46 +02:00
Yury Delendik
b47e4b8855 Merge pull request #2327 from brendandahl/un-inline
Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code.
2012-10-29 16:43:23 -07:00
Julian Viereck
318b286da3 Fix typo in PartialEvaluator_getTextContent 2012-10-29 23:03:30 +01:00
Brendan Dahl
babd8df176 Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code. 2012-10-29 12:44:18 -07:00