Vivien Nicolas
|
91399b50ef
|
Use the shadow method in Fonts.ctx
|
2011-06-29 03:00:23 +02:00 |
|
Vivien Nicolas
|
dd923d5aea
|
Merge with upstream, reverse changeset 4e24288 since it brokes TTF on linux
|
2011-06-29 02:58:51 +02:00 |
|
Chris Jones
|
7c9bf1f36f
|
Merge pull request #95 from jviereck/master
Make processing of fonts happen in a worker.
|
2011-06-28 14:56:10 -07:00 |
|
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 |
|
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
|
519fb435c3
|
Fonts.js: Add isLoadedCallback and add hack known from worker/client.js
|
2011-06-28 09:50:53 +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
|
b00df76044
|
First pass on FontWorker
|
2011-06-28 08:06:40 +02:00 |
|
notmasteryet
|
23af586934
|
Fix the regression at 6073a03
|
2011-06-27 21:48:16 -05: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 |
|
notmasteryet
|
d934f81895
|
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 |
|
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 |
|
Vivien Nicolas
|
798d7a10ca
|
Use the right width field in hmtx
|
2011-06-27 21:17:25 +02:00 |
|
Andreas Gal
|
659286c000
|
Merge pull request #96 from vingtetun/master
Fix windows/mac font loading detection. r=gal
|
2011-06-26 20:46:10 -07:00 |
|
Vivien Nicolas
|
bcf5ade41c
|
Kill Flatten - part 1
|
2011-06-26 10:04:56 +02:00 |
|
Vivien Nicolas
|
8241d5fe02
|
Fix windows/mac font loading detection
|
2011-06-25 11:52:42 +02:00 |
|
Vivien Nicolas
|
9d04548db3
|
Type1 fonts pass the sanitizer (again)
|
2011-06-25 11:22:28 +02:00 |
|
Vivien Nicolas
|
29eae2c468
|
Do less manual conversion
|
2011-06-25 05:45:15 +02:00 |
|
Vivien Nicolas
|
7bc26ba127
|
Add the Type1 subrs into the CFF local subrs index
|
2011-06-25 05:12:35 +02:00 |
|
Andreas Gal
|
cdb8788865
|
nits
|
2011-06-24 17:12:06 -04:00 |
|
Vivien Nicolas
|
c1c8ca4ef3
|
Do not add the font-loader canvas to the page dom to save some load time
|
2011-06-24 21:25:08 +02:00 |
|
Vivien Nicolas
|
26389c083a
|
Fix a bunch of warnings from Firebug strict mode
|
2011-06-24 11:58:05 +02:00 |
|
Vivien Nicolas
|
07ca9bfec5
|
Start adding a FontLoader class to isolate the font-loaded hack
|
2011-06-24 11:47:22 +02:00 |
|
Vivien Nicolas
|
bc7e2b0110
|
Don't read the lsb instead of the width
|
2011-06-24 03:01:41 +02:00 |
|
Vivien Nicolas
|
5443714d34
|
Fix Windows 'hmtx' bust table
|
2011-06-24 02:58:17 +02:00 |
|
Vivien Nicolas
|
69449f7346
|
Merge branch 'master' of https://github.com/vingtetun/pdf.js
|
2011-06-24 01:39:55 +02:00 |
|
Vivien Nicolas
|
df406d43a1
|
Remove some useless var
|
2011-06-24 01:37:54 +02:00 |
|
Vivien Nicolas
|
a4bb3cba5b
|
Merge remote branch 'upstream/master'
|
2011-06-24 00:29:32 +02:00 |
|
Julian Viereck
|
3bef1534b4
|
Reverts parts of 60f4d16360: Use old font-is-loaded mechanism + some code refactoring to add bindDOM and bindWorker.
|
2011-06-23 23:33:25 +02:00 |
|
Julian Viereck
|
4b27045d2e
|
Ensure divs used to make fonts load are not visible
|
2011-06-23 23:33:25 +02:00 |
|
Julian Viereck
|
da7f555fd7
|
Change postMessage to send only one object that holds the action and data.
|
2011-06-23 23:33:24 +02:00 |
|
Julian Viereck
|
a3d815074d
|
First pass on review: worker.js -> pdf_worker.js, Font.bind cleanup + other stuff
|
2011-06-23 23:33:24 +02:00 |
|
Julian Viereck
|
fc007b99d0
|
Introduce ImageCanvas to handle canvas rendering in WebWorker
|
2011-06-23 23:33:22 +02:00 |
|
Julian Viereck
|
61b76c7e87
|
Make fonts getting loaded by a very nasty hack
|
2011-06-23 23:33:22 +02:00 |
|
Julian Viereck
|
e15328800a
|
Most working, but once you add the font-css file to the web page, there is no font drawn at all
|
2011-06-23 23:32:24 +02:00 |
|
Vivien Nicolas
|
4d155983c5
|
Remove some hardcoded glue
|
2011-06-23 23:15:22 +02:00 |
|
Vivien Nicolas
|
ef418de40b
|
Fix bustage of the previous commit
|
2011-06-23 22:20:55 +02:00 |
|
Vivien Nicolas
|
fc35a70acb
|
Add a createPostTable function and remove the useless join('') calls
|
2011-06-23 22:11:16 +02:00 |
|
Chris Jones
|
57e7e798a6
|
fix strict-mode violations in chrome
|
2011-06-22 18:50:38 -07:00 |
|
Vivien Nicolas
|
a772c9a2e2
|
Fill more gaps for Format 6 dense array
|
2011-06-22 11:25:00 +02:00 |
|
Vivien Nicolas
|
e0c98ba3c6
|
Enhance the converter code by filling Format 6 dense array gaps
|
2011-06-22 10:56:31 +02:00 |
|
Vivien Nicolas
|
00df9b82ee
|
Start of a TTF Format6 to Format4 converter (sigh)
|
2011-06-22 07:46:41 +02:00 |
|
Vivien Nicolas
|
fdfd03b671
|
Support Format 6 cmap table, but does not pass the sanitizer yet
|
2011-06-22 04:41:31 +02:00 |
|