Commit Graph

1272 Commits

Author SHA1 Message Date
Vivien Nicolas
80f650b6bb Add a fake canvas for scaling fonts to improve perfs 2011-06-28 18:24:16 +02:00
Vivien Nicolas
63e1601464 Small cleanup 2011-06-28 17:35:15 +02:00
Vivien Nicolas
e3dbb685f3 Add more precision for positionning fonts by scaling the canvas 2011-06-28 17:26:52 +02:00
Adil Allawi
4e242880b6 Function replaceCMapTable() was not setting the font pos pointer to the correct place to read the cmap. Caused Mac PDFs to fail because the cmap was not correctly rewritten. 2011-06-28 15:14:38 +01:00
Vivien Nicolas
82928b14a1 Handle division in hsbw to provide the correct information to the hmtx table 2011-06-28 13:34:39 +02:00
Vivien Nicolas
fe55204042 Add 1 to the number of metrics in the HHEA table and remove the mapping of .notdef 2011-06-28 13:15:00 +02:00
Vivien Nicolas
bfe0356533 Filled notdef in the cmap table 2011-06-28 13:06:31 +02:00
Julian Viereck
803139127a Use Font.prototype.bindDOM to insert fonts on page 2011-06-28 09:51:49 +02:00
Julian Viereck
519fb435c3 Fonts.js: Add isLoadedCallback and add hack known from worker/client.js 2011-06-28 09:50:53 +02:00
Julian Viereck
1ac7064cad Add more timing logs 2011-06-28 08:06:40 +02:00
Julian Viereck
23e9064f17 Make all fonts render. Use encoding from FontWorker. Render canvas if id!=0 although fonts haven't arrived yet.
Conflicts:

	worker/pdf.js
2011-06-28 08:06:40 +02:00
Julian Viereck
c1834c1bb5 Make sure to reset callbacks array and get more fonts working 2011-06-28 08:06:40 +02:00
Julian Viereck
b00df76044 First pass on FontWorker 2011-06-28 08:06:40 +02:00
Julian Viereck
c712712e67 Move all worker related files under worker/ 2011-06-28 08:06:39 +02:00
Andreas Gal
646a95afce Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-27 20:36:21 -07:00
Andreas Gal
dd6914e51e Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-27 20:35:30 -07:00
Chris Jones
095137ece1 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-27 20:31:37 -07:00
Andreas Gal
866e59f3d0 Add pdf13-gfx.pdf to .gitignore 2011-06-27 20:31:01 -07:00
Andreas Gal
16e2aa6e3b Add pdf13-gfx.pdf to .gitignore 2011-06-27 20:31:01 -07:00
Chris Jones
76f1291284 convert twips->CSS pixels 2011-06-27 20:18:40 -07:00
Chris Jones
f77707814e convert twips->CSS pixels 2011-06-27 20:18:40 -07:00
Chris Jones
376224bc99 convert twips->CSS pixels 2011-06-27 20:18:40 -07:00
Chris Jones
0d0de98c12 Merge pull request #105 from notmasteryet/issue102
Fix the regression at 6073a03
2011-06-27 19:50:47 -07:00
Chris Jones
8249aa2602 Merge pull request #105 from notmasteryet/issue102
Fix the regression at 6073a03
2011-06-27 19:50:47 -07:00
Chris Jones
3683fc67fb Merge pull request #105 from notmasteryet/issue102
Fix the regression at 6073a03
2011-06-27 19:50:47 -07:00
notmasteryet
23af586934 Fix the regression at 6073a03 2011-06-27 21:48:16 -05:00
notmasteryet
49a3bae05b Fix the regression at 6073a03 2011-06-27 21:48:16 -05:00
notmasteryet
3b136d26ff Fix the regression at 6073a03 2011-06-27 21:48:16 -05:00
Chris Jones
2416d5e745 the new test file is a .link 2011-06-27 18:28:29 -07:00
Chris Jones
8385cb8449 the new test file is a .link 2011-06-27 18:28:29 -07:00
Chris Jones
a5e4e53cdb the new test file is a .link 2011-06-27 18:28:29 -07:00
Andreas Gal
cc9c7baefb Merge pull request #100 from notmasteryet/openweb-cover
CMYK colors; font fixes r=gal
2011-06-27 18:15:22 -07:00
Andreas Gal
4acd7daef8 Merge pull request #100 from notmasteryet/openweb-cover
CMYK colors; font fixes r=gal
2011-06-27 18:15:22 -07:00
notmasteryet
e87ee95c79 openweb-cover test 2011-06-27 20:13:11 -05:00
notmasteryet
a7a49eabd3 openweb-cover test 2011-06-27 20:13:11 -05:00
notmasteryet
d934f81895 Rollback defaults for font's Length1 and Length2 2011-06-27 19:56:19 -05:00
notmasteryet
806fd49bbe Rollback defaults for font's Length1 and Length2 2011-06-27 19:56:19 -05:00
notmasteryet
6073a030ab CMYK colors; font fixes 2011-06-27 19:34:41 -05:00
notmasteryet
48a2346275 CMYK colors; font fixes 2011-06-27 19:34:41 -05:00
Vivien Nicolas
a56e5ade22 Next try for windows (2) 2011-06-28 01:39:09 +02:00
Vivien Nicolas
0783f3a896 Next try for windows 2011-06-28 01:17:36 +02:00
Vivien Nicolas
61da963dae Give a shot at passing better information to hmtx (hinting is slightly broken) 2011-06-28 00:11:53 +02:00
Chris Jones
36fd9a0890 Merge pull request #98 from sayrer/master
This loads reftest-analyzer automatically if eq tests fail and --reftest is supplied
2011-06-27 14:13:32 -07:00
Chris Jones
328070ca35 Merge pull request #98 from sayrer/master
This loads reftest-analyzer automatically if eq tests fail and --reftest is supplied
2011-06-27 14:13:32 -07:00
Rob Sayre
e90ac1d4cd Automatically load eq.log into the reftest page. 2011-06-27 13:22:37 -07:00
Rob Sayre
37be2b2c4d Automatically load eq.log into the reftest page. 2011-06-27 13:22:37 -07:00
Rob Sayre
4b96c06c27 Always write eq.log, and optionally start reftest. 2011-06-27 12:37:12 -07:00
Rob Sayre
687fceffc6 Always write eq.log, and optionally start reftest. 2011-06-27 12:37:12 -07:00
Rob Sayre
04dadb0f8f Ignore intelisa.pdf 2011-06-27 12:36:34 -07:00
Rob Sayre
b002cfb433 Ignore intelisa.pdf 2011-06-27 12:36:34 -07:00