Commit Graph

115 Commits

Author SHA1 Message Date
Chris Jones
7b883a89db merge 2011-07-01 01:23:20 -07:00
Chris Jones
082edd6460 merge 2011-06-30 14:57:00 -07:00
Julian Viereck
391c26b407 Make worker work again after latest font changes 2011-06-30 14:25:57 +02:00
Vivien Nicolas
2e7df01459 Fix windows mispotionning issue 2011-06-30 12:40:21 +02:00
Chris Jones
6b72f8e98a just create one dummy element too, and centralize hackery 2011-06-30 03:02:50 -07:00
Chris Jones
9bc06a9924 load all newly-created fonts in one document to speed things up 2011-06-30 02:51:42 -07:00
Vivien Nicolas
ce17e9481f Merge branch 'master' of https://github.com/andreasgal/pdf.js 2011-06-30 11:50:53 +02:00
Vivien Nicolas
9b67a1e6b5 Forgot to add pdf.js to the last commit 2011-06-30 11:50:47 +02:00
Vivien Nicolas
1c78d8fdb4 Fix more headers tables 2011-06-30 11:48:43 +02:00
Chris Jones
49058c9174 merge with remote 2011-06-30 02:14:47 -07:00
Chris Jones
a564076b22 add another hackity hack to detect font loaded-ness 2011-06-30 02:08:53 -07:00
Andreas Gal
05381cc531 cache font measurements 2011-06-30 01:00:58 -07:00
Vivien Nicolas
7ff6f5166c Fix languages bustage 2011-06-30 09:25:57 +02:00
Vivien Nicolas
64f8e79bf8 Make windows table header more compatible with windows 2011-06-30 05:38:10 +02:00
Vivien Nicolas
2334399498 Add more information about the italic angle 2011-06-30 03:27:22 +02:00
Vivien Nicolas
9921288f44 Set a default font size identical for .notdef 2011-06-30 03:24:07 +02:00
Vivien Nicolas
a2974b2f58 Map .notdef in order to attach the [missing|break]Char to it 2011-06-30 03:01:46 +02:00
Vivien Nicolas
2e71f79865 Remove the first empty character of charset 2011-06-30 02:58:40 +02:00
Vivien Nicolas
e448dce42b Add better informations for the OS/2 table 2011-06-30 02:52:47 +02:00
Vivien Nicolas
1c611d4e32 Improve a bit the createNameTable code 2011-06-30 01:18:11 +02:00
Vivien Nicolas
4c6c20fc29 Fix a few headers fields 2011-06-29 21:53:22 +02:00
Vivien Nicolas
a7c3ebcac3 Do not include the padding size in the length declared in the table header 2011-06-29 21:30:25 +02:00
Vivien Nicolas
0a7531cb33 Calculate correct checksum for the field header 2011-06-29 21:29:33 +02:00
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