Commit Graph

135 Commits

Author SHA1 Message Date
Chris Jones
fe09c1852c handle font names with comments (fix fix of hack hack) 2011-07-04 18:21:13 -04:00
Vivien Nicolas
ac5db21fb1 Let Chrome (and others?) show TrueType fonts 2011-07-03 22:29:46 +02:00
Vivien Nicolas
cdff127eef Let Chrome (and others?) handle Type1 Fonts (TrueType not working yet) 2011-07-03 14:52:00 +02:00
Vivien Nicolas
f58983f4e5 Clean up Fonts.convert() 2011-07-03 01:17:28 +02:00
Vivien Nicolas
b390a03a1d Merge branch 'master' of https://github.com/andreasgal/pdf.js 2011-07-02 07:54:58 +02:00
Vivien Nicolas
d28c0cb41e Get rid of FontsUtils 2011-07-02 07:54:28 +02:00
Chris Jones
818f79986b work around chrome bug, and work around ff5 bug in the workaround 2011-07-01 22:19:02 -07:00
Vivien Nicolas
a600a3d2ce Fix bustage while merging 2011-07-02 06:01:43 +02:00
Vivien Nicolas
41d4738289 Merge with upstream 2011-07-02 05:50:59 +02:00
Vivien Nicolas
3e78538c1c Remove cmap format 100, fixes some nits to merge with upstream 2011-07-02 05:46:50 +02:00
Vivien Nicolas
3726686d22 Add a format100 table for Mac 2011-07-02 02:44:57 +02:00
Vivien Nicolas
3dcf65d9df Fix a small issue in the waiting for font to load code 2011-07-02 01:01:55 +02:00
Vivien Nicolas
d10cf7c929 Reland commit 442d184 but make it works with uncompressed PDF 2011-07-02 00:19:24 +02:00
Vivien Nicolas
63e4f0293f Add support for stemHW/stemVW/stemSnapH/stemSnapV 2011-07-01 11:28:22 +02:00
Chris Jones
7b883a89db merge 2011-07-01 01:23:20 -07:00
Vivien Nicolas
e13164eca6 Read the text matrix from the Type1 font ascii header 2011-07-01 07:16:56 +02:00
Vivien Nicolas
ae2d130f40 Improve the extractInfo code to be more robust 2011-07-01 05:16:27 +02:00
Vivien Nicolas
697aa0f15e Merge branch 'master' of https://github.com/andreasgal/pdf.js 2011-07-01 03:39:55 +02:00
Vivien Nicolas
dae18a2710 Use strings instead of arrays in CFF.wrap 2011-07-01 03:24:23 +02:00
Vivien Nicolas
db30cc6de1 Start converting CFF class to use strings instead of arrays 2011-07-01 00:57:17 +02:00
Vivien Nicolas
5cbc6875b3 Open the CFF class road for Type1C font 2011-07-01 00:44:11 +02: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