Commit Graph

  • 1e3147d0d7 working version of tiling sbarman 2011-06-16 11:26:50 -07:00
  • 5fa49ce3d6 working version of tiling sbarman 2011-06-16 11:26:50 -07:00
  • 3430842c4d add blogs and twitter link Andreas Gal 2011-06-16 09:37:15 -07:00
  • d720575392 add blogs and twitter link Andreas Gal 2011-06-16 09:37:15 -07:00
  • f56a742056 Remove some debug leftovers and add some comments about future directions for the code Vivien Nicolas 2011-06-16 09:34:43 +02:00
  • 675b2f0471 Remove some debug leftovers and add some comments about future directions for the code Vivien Nicolas 2011-06-16 09:34:43 +02:00
  • 2941da3a33 Test-page updated to allow the user open local PDFs Soumya Deb 2011-06-16 12:14:02 +05:30
  • 327e36b347 Test-page updated to allow the user open local PDFs Soumya Deb 2011-06-16 12:14:02 +05:30
  • 3dbfde89a3 Resolve the char->glyphs mapping issue Vivien Nicolas 2011-06-16 03:55:45 +02:00
  • c9e0b05678 Resolve the char->glyphs mapping issue Vivien Nicolas 2011-06-16 03:55:45 +02:00
  • 2e87e8ca83 Merge from gal's master branch (got a regression on the mapping between char->glyph) Vivien Nicolas 2011-06-16 03:05:55 +02:00
  • a57b53b3b3 Merge from gal's master branch (got a regression on the mapping between char->glyph) Vivien Nicolas 2011-06-16 03:05:55 +02:00
  • 15aad009c9 Change the nominalWidth to not use the format 28,b0,b1 but b0-139 in order to pass the sanitizer and disable TrueType support until it fully works Vivien Nicolas 2011-06-16 02:17:45 +02:00
  • 1923337bab Change the nominalWidth to not use the format 28,b0,b1 but b0-139 in order to pass the sanitizer and disable TrueType support until it fully works Vivien Nicolas 2011-06-16 02:17:45 +02:00
  • 3eb36429f3 Use spaces to compare font size to detect when the @font-face rule works, this seems to be more accurate Vivien Nicolas 2011-06-16 01:30:47 +02:00
  • 509d608a3a Use spaces to compare font size to detect when the @font-face rule works, this seems to be more accurate Vivien Nicolas 2011-06-16 01:30:47 +02:00
  • c0ef98a9da Remove some useless JS function calls Vivien Nicolas 2011-06-16 01:09:17 +02:00
  • 97e8a56323 Remove some useless JS function calls Vivien Nicolas 2011-06-16 01:09:17 +02:00
  • d565193cbd Get rid of the PostScript interpreter (part 1) Vivien Nicolas 2011-06-15 23:02:30 +02:00
  • 650ed04a70 Get rid of the PostScript interpreter (part 1) Vivien Nicolas 2011-06-15 23:02:30 +02:00
  • 8ab68cf17a implement setDash Chris Jones 2011-06-15 12:55:48 -07:00
  • 7fb6c434c5 implement setDash Chris Jones 2011-06-15 12:55:48 -07:00
  • 672741bc5c Merge branch 'master' of github.com:andreasgal/pdf.js Chris Jones 2011-06-15 12:42:48 -07:00
  • 470f0e49dd Merge branch 'master' of github.com:andreasgal/pdf.js Chris Jones 2011-06-15 12:42:48 -07:00
  • 58c08ca00f Merge pull request #6 from sbarman/master Chris Jones 2011-06-15 12:41:40 -07:00
  • 988989e8b0 Merge pull request #6 from sbarman/master Chris Jones 2011-06-15 12:41:40 -07:00
  • 7077ad5b67 Merge branch 'master' of github.com:andreasgal/pdf.js sbarman 2011-06-15 12:37:05 -07:00
  • 23aba03f43 Merge branch 'master' of github.com:andreasgal/pdf.js sbarman 2011-06-15 12:37:05 -07:00
  • 0c4e4d1651 implement some operators and add TODOs for remaining undefined ones Chris Jones 2011-06-15 14:24:44 -05:00
  • 07c81a624e implement some operators and add TODOs for remaining undefined ones Chris Jones 2011-06-15 14:24:44 -05:00
  • a0375c0f0b cleaned up fetchIfRef, changed switch-case to array lookup, changed IsFunction to IsPDFFunction sbarman 2011-06-15 11:34:47 -07:00
  • 0f2d4c7011 cleaned up fetchIfRef, changed switch-case to array lookup, changed IsFunction to IsPDFFunction sbarman 2011-06-15 11:34:47 -07:00
  • 815544ab81 fixes suggested by @brendaneich Andreas Gal 2011-06-15 00:37:15 -07:00
  • 6a9f7def45 fixes suggested by @brendaneich Andreas Gal 2011-06-15 00:37:15 -07:00
  • 0ad010ecbd Make Type1 glyphs use the default width they declare Vivien Nicolas 2011-06-15 09:21:59 +02:00
  • 2519e4f53b Make Type1 glyphs use the default width they declare Vivien Nicolas 2011-06-15 09:21:59 +02:00
  • 595f00f82a measure load/compile/render times Andreas Gal 2011-06-15 00:20:26 -07:00
  • 97bb956ac9 measure load/compile/render times Andreas Gal 2011-06-15 00:20:26 -07:00
  • 02df7f8e58 clarify API a bit and hand in xref and resources to ease translation Andreas Gal 2011-06-14 23:44:59 -07:00
  • b5dcf986eb clarify API a bit and hand in xref and resources to ease translation Andreas Gal 2011-06-14 23:44:59 -07:00
  • cf4bca7813 completed async font loading framework Andreas Gal 2011-06-14 23:41:26 -07:00
  • 77bc59681e completed async font loading framework Andreas Gal 2011-06-14 23:41:26 -07:00
  • d94b3006a3 eagerly translate all fonts (a no-op currently) Andreas Gal 2011-06-14 23:34:11 -07:00
  • 0ef077c44c eagerly translate all fonts (a no-op currently) Andreas Gal 2011-06-14 23:34:11 -07:00
  • 662fab04ca pdf is using a dumb name, content makes much more sense than Contents Andreas Gal 2011-06-14 23:22:19 -07:00
  • fbb2f497fd pdf is using a dumb name, content makes much more sense than Contents Andreas Gal 2011-06-14 23:22:19 -07:00
  • d1b9e4054a cache results of compilation Andreas Gal 2011-06-14 23:16:53 -07:00
  • 5acb9a16de cache results of compilation Andreas Gal 2011-06-14 23:16:53 -07:00
  • e8ce0b361d eagerly compile XForm objects Andreas Gal 2011-06-14 22:54:49 -07:00
  • 7afaca2d35 eagerly compile XForm objects Andreas Gal 2011-06-14 22:54:49 -07:00
  • 3fbeeccb96 Forgot to turn off some debug flags Vivien Nicolas 2011-06-15 05:42:15 +02:00
  • 73350b1f46 Forgot to turn off some debug flags Vivien Nicolas 2011-06-15 05:42:15 +02:00
  • 78e36888fd Add Encodings.js and change the code to generate a CharSet per font, this will allow future changes to the OpenType font generator Vivien Nicolas 2011-06-15 05:40:54 +02:00
  • f7e90f569c Add Encodings.js and change the code to generate a CharSet per font, this will allow future changes to the OpenType font generator Vivien Nicolas 2011-06-15 05:40:54 +02:00
  • e7d6b47099 return ready-to-run closure from compile that captures its objpool Andreas Gal 2011-06-14 20:36:45 -07:00
  • aecc4ebbb7 return ready-to-run closure from compile that captures its objpool Andreas Gal 2011-06-14 20:36:45 -07:00
  • 32118c5650 Add a basic support for TrueType (generate fonts with OS/2 table) Vivien Nicolas 2011-06-15 04:46:48 +02:00
  • 1dcd42b66c Add a basic support for TrueType (generate fonts with OS/2 table) Vivien Nicolas 2011-06-15 04:46:48 +02:00
  • 7a0ba61a2a compile PDF command streams into JS code Andreas Gal 2011-06-14 18:31:14 -07:00
  • b9771416ba compile PDF command streams into JS code Andreas Gal 2011-06-14 18:31:14 -07:00
  • 58ca7ab61c Cleaned up code, renamed PDFFunction class sbarman 2011-06-14 13:49:50 -07:00
  • b7360823a2 Cleaned up code, renamed PDFFunction class sbarman 2011-06-14 13:49:50 -07:00
  • bdf8577c48 Remove direct access to the underlying map object of dict in the fonts builder Vivien Nicolas 2011-06-14 21:51:11 +02:00
  • c8c4326ca8 Remove direct access to the underlying map object of dict in the fonts builder Vivien Nicolas 2011-06-14 21:51:11 +02:00
  • 363071aab9 Add XObjects fonts to the list of page fonts and has a forEach method to the Dict class Vivien Nicolas 2011-06-14 21:38:59 +02:00
  • bd2e756100 Add XObjects fonts to the list of page fonts and has a forEach method to the Dict class Vivien Nicolas 2011-06-14 21:38:59 +02:00
  • 3c12d9ee31 cleaned up code sbarman 2011-06-14 12:19:35 -07:00
  • aa6d9f75a3 cleaned up code sbarman 2011-06-14 12:19:35 -07:00
  • de9150b528 Implemented type 2 shading for the pdf (aka gradients) sbarman 2011-06-14 11:55:27 -07:00
  • 9fc97d94e8 Implemented type 2 shading for the pdf (aka gradients) sbarman 2011-06-14 11:55:27 -07:00
  • 3625ac93a3 Forgot to push function calls changes to get the unicode char from a random code Vivien Nicolas 2011-06-14 19:40:36 +02:00
  • 6364e7fad5 Forgot to push function calls changes to get the unicode char from a random code Vivien Nicolas 2011-06-14 19:40:36 +02:00
  • e21d7b3000 Add support for brackets around the header emails Vivien Nicolas 2011-06-14 11:59:10 +02:00
  • 6a6753fd5e Add support for brackets around the header emails Vivien Nicolas 2011-06-14 11:59:10 +02:00
  • 0ebd3cdf93 Add support for ligatures, asterisks, etc. Vivien Nicolas 2011-06-14 11:08:08 +02:00
  • 4cae2df1e5 Add support for ligatures, asterisks, etc. Vivien Nicolas 2011-06-14 11:08:08 +02:00
  • 2692222152 Fix an issue with the setTimeout method used for waiting for fonts to load Vivien Nicolas 2011-06-14 04:52:21 +02:00
  • f802ad05b2 Fix an issue with the setTimeout method used for waiting for fonts to load Vivien Nicolas 2011-06-14 04:52:21 +02:00
  • b0ee046b31 Make the fonts decoding code works with asynchronous data url Vivien Nicolas 2011-06-14 04:35:46 +02:00
  • 375b383920 Make the fonts decoding code works with asynchronous data url Vivien Nicolas 2011-06-14 04:35:46 +02:00
  • c03dd98075 Do not use makeSubStream in the CFF constructor Vivien Nicolas 2011-06-13 23:23:13 +02:00
  • b7449f3bcc Do not use makeSubStream in the CFF constructor Vivien Nicolas 2011-06-13 23:23:13 +02:00
  • f9e3607601 Merge to upstream Vivien Nicolas 2011-06-13 19:16:03 +02:00
  • 3973b01ec9 Merge to upstream Vivien Nicolas 2011-06-13 19:16:03 +02:00
  • 2dc7bda2bc Merge the stream handling changes with the Font code Vivien Nicolas 2011-06-13 18:59:46 +02:00
  • 2c4a0aa269 Undo last patch, it broke font rendering Vivien Nicolas 2011-06-13 07:06:51 +02:00
  • 83e100b013 starting position of a stream is relative to the file, not the current stream Andreas Gal 2011-06-03 01:57:06 +08:00
  • e0a6c8ef76 use const instead of var Andreas Gal 2011-05-21 13:40:28 +08:00
  • 9830b09f34 Small changes Vivien Nicolas 2011-06-13 05:30:02 +02:00
  • 4039e3e1e2 Clean up a bit the code to generate an OTF (again) Vivien Nicolas 2011-06-13 04:46:21 +02:00
  • c6f5385d15 Clean up a bit the code to generate an OTF Vivien Nicolas 2011-06-13 04:37:53 +02:00
  • cebdda3f35 Clean up a bit the CMAP ranges creation loop Vivien Nicolas 2011-06-13 03:45:24 +02:00
  • 65b8158c34 CMAP creation code is now more readable Vivien Nicolas 2011-06-13 03:35:56 +02:00
  • a8ce1d24e9 Beginning of the separatation of the Type1/CFF/OTF code Vivien Nicolas 2011-06-13 02:30:16 +02:00
  • 0a135091de Add a root 'Font' class as the outside world API Vivien Nicolas 2011-06-13 01:38:05 +02:00
  • 84c2e99bef Add some missing glyphs Vivien Nicolas 2011-06-12 23:41:57 +02:00
  • 6e7e8ee64c OTF fonts works with the sanitizer (woot) Vivien Nicolas 2011-06-12 21:53:39 +02:00
  • 1f7aaf7b50 Add some code to make (the first one only...) font pass the sanitizer check Vivien Nicolas 2011-06-12 14:23:39 +02:00
  • 609842b76c remove debug code Andreas Gal 2011-06-11 23:49:17 -07:00
  • bf2c525788 remove debug code Andreas Gal 2011-06-11 23:49:17 -07:00