1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-07 18:30:34 +00:00
Commit Graph

703 Commits

Author SHA1 Message Date
Lu Wang
2b70f5b2a1 fix float point number comparison in install_* 2013-01-30 04:06:48 +08:00
Lu Wang
71f1cb3b8a clean unuseful warning messages in ArgParser 2013-01-30 03:40:17 +08:00
Lu Wang
a7bba1bf48 clean ArgParser 2013-01-30 03:22:11 +08:00
Lu Wang
b2ae01a2fa make type_name a member function 2013-01-30 02:48:05 +08:00
Lu Wang
d987294082 Merge pull request #79 from jahewson/master
Automatically infer @font-face src format
2013-01-29 10:19:33 -08:00
John Hewson
b9763d1072 cosmetic changes 2013-01-29 18:13:48 +00:00
Lu Wang
2e91696b33 improve manpage; show data-dir in -v 2013-01-29 22:52:32 +08:00
Lu Wang
9efa67681b outline is closed by default, and will be opened by pdf2htmlEX.js if not empty 2013-01-29 22:23:59 +08:00
John Hewson
b2d28e2490 fixed formatting 2013-01-29 13:38:34 +00:00
John Hewson
6fda07bec3 automatically infer @font-face src format 2013-01-29 12:07:51 +00:00
John Hewson
efbd9c8c1e usage: default is -> default: 2013-01-29 10:39:25 +00:00
John Hewson
e79c2884bb usage: embedded fonts -> fonts 2013-01-29 10:38:39 +00:00
John Hewson
4cddb4dbb3 re-ordered Param.h to match new usage order 2013-01-28 23:11:29 +00:00
John Hewson
c80a732ea5 re-ordered usage descriptions to be more like pdftocairo,etc 2013-01-28 22:54:42 +00:00
John Hewson
d250ccf829 cleaned-up usage descriptions 2013-01-28 22:45:12 +00:00
John Hewson
81ee37e4ae show argument types, like pdftohtml/pdftocairo/etc 2013-01-28 22:30:04 +00:00
John Hewson
35d9668e90 pdftohtml/pdftocairo/etc style usage defaults 2013-01-28 22:26:07 +00:00
John Hewson
40e9f89833 don't need every program telling people how to use unix 2013-01-28 22:17:57 +00:00
John Hewson
952a3409f3 cleaned up usage beahviour 2013-01-28 22:16:38 +00:00
Lu Wang
272fb57755 fix file copy for empty input 2013-01-28 21:56:22 +08:00
Lu Wang
a9bc242c1c process outline 2013-01-28 21:01:02 +08:00
Lu Wang
e0c859188e new parameter for outline 2013-01-28 20:00:20 +08:00
Lu Wang
b7ffd969e5 fix build with git version of poppler 2013-01-28 19:45:40 +08:00
Lu Wang
d38697d890 refactor file objects 2013-01-28 18:46:44 +08:00
Lu Wang
014ef7ecc2 expose get_linkdest_str 2013-01-28 18:31:02 +08:00
Lu Wang
4d94c1d072 fix build with git version of poppler 2013-01-28 18:16:01 +08:00
Lu Wang
4a7b62a0b7 typo 2013-01-27 04:38:34 +08:00
Lu Wang
4798945c1d .. 2013-01-26 19:45:48 +08:00
Lu Wang
be5186592d Update src/util/ffw.c 2013-01-26 02:30:56 +08:00
Lu Wang
8c621e5c0d Merge pull request #75 from jahewson/master
Travis CI, etc.
2013-01-25 05:20:05 -08:00
John Hewson
f3d8b8a954 make -v flag exit with success 2013-01-25 13:13:27 +00:00
John Hewson
30577ee546 change no-drm parameter to int, updated manpage 2013-01-25 12:38:44 +00:00
Lu Wang
f9399859e4 add a class for 'left' 2013-01-25 16:39:20 +08:00
John Hewson
88467667a2 flag to override DRM 2013-01-25 00:56:49 +00:00
Lu Wang
e1989652fa fix GfxRGB_hash 2013-01-24 22:44:08 +08:00
Lu Wang
8d09a25baf fixed a typo for GfxRGB_equal 2013-01-24 22:41:59 +08:00
Lu Wang
062c12aa73 Merge branch 'devv' 2013-01-24 22:41:28 +08:00
Lu Wang
f76003ecc4 .. 2013-01-24 22:21:06 +08:00
Lu Wang
78704cca61 track strokecolor/ colorspace / render 2013-01-24 20:39:24 +08:00
John Hewson
43ae72b9b0 removed version from usage 2013-01-23 15:02:11 +00:00
John Hewson
df054d70cf fixed memory leak 2013-01-23 14:40:28 +00:00
John Hewson
b1dc3eb11a enhanced version information 2013-01-23 12:29:59 +00:00
Lu Wang
d274d4f6c8 fix width of type 3 fonts; don't show hidden text for type 3 fonts 2013-01-19 20:13:31 +08:00
Lu Wang
da8a18c2d9 .. 2013-01-19 19:33:29 +08:00
Lu Wang
e81b0e7456 .. 2013-01-19 19:19:15 +08:00
Lu Wang
342628ed03 .. 2013-01-19 17:17:12 +08:00
Lu Wang
2595cbcfa0 explicitly set visible for fonts in order to override derivation 2013-01-19 16:56:37 +08:00
Lu Wang
68d7e7f529 render Type 3 fonts as image 2013-01-19 16:46:50 +08:00
Lu Wang
f4e82f6049 .. 2013-01-08 20:37:08 +08:00
Lu Wang
2dbb226e0e .. 2012-12-11 20:52:36 +08:00
Lu Wang
495dabf964 separate TextLineBuffer 2012-12-11 20:48:10 +08:00
Lu Wang
5842d2279d separate TextLineBuffer 2012-12-11 20:48:01 +08:00
Lu Wang
add1d1e28e reorganize 2012-12-11 20:20:52 +08:00
Lu Wang
804f86b127 reorganize coce 2012-12-11 20:17:36 +08:00
Lu Wang
59a571ac8a new param use-cropbox 2012-12-07 20:31:09 +08:00
Lu Wang
c886e22292 merge #54 2012-12-07 20:14:51 +08:00
Herbert Jones
5f919c8d3f Fix problem with certain pdfs that transform the entire document upside
down, including the fonts, which normally appear correctly in other
renderers. Since CSS doesn't know how to handle negative font sizes, the
document needs to be transformed correctly.
2012-12-05 16:10:22 -06:00
Lu Wang
2e0b9c6721 should fix a span with only a space 2012-11-30 17:59:36 +08:00
Lu Wang
d1dfb33e43 .. 2012-11-30 17:33:27 +08:00
Lu Wang
b4257e7f9f fix #51 2012-11-30 17:18:12 +08:00
Lu Wang
6fb3421860 nope, hinting of fontforge is not reliable 2012-11-29 21:41:48 +08:00
Lu Wang
36a340ecf9 auto-hint is now default 2012-11-29 21:38:53 +08:00
Lu Wang
e534298e1b .. 2012-11-29 21:38:23 +08:00
Lu Wang
02305d560b .. 2012-11-29 21:20:26 +08:00
Lu Wang
195a6cc581 refining 2012-11-29 20:39:30 +08:00
Lu Wang
9d99fd9b82 clean code 2012-11-29 19:43:19 +08:00
Lu Wang
ba77c1cc6c refince code: base64 2012-11-29 19:38:57 +08:00
Lu Wang
56e59baeb2 split util.h 2012-11-29 18:28:07 +08:00
Lu Wang
d179b50147 working on util.h 2012-11-29 18:16:05 +08:00
Lu Wang
ab28c44034 moving base64/string_formatter out 2012-11-29 17:50:40 +08:00
Lu Wang
35fccdc28c reorganizaing 2012-11-29 17:45:26 +08:00
Lu Wang
63287ce491 reorganize files 2012-11-29 17:28:05 +08:00
filodej
db23e31e6a Add changes requested in code review 2012-11-29 16:55:22 +08:00
filodej
a5ccc7f073 merge filodej 2012-11-29 16:55:20 +08:00
filodej
462e8dc541 Add missing includes to the utils.h file 2012-11-29 16:53:26 +08:00
Lu Wang
210a2451e6 text in writing mode are rendered as image 2012-11-16 20:46:52 +08:00
Lu Wang
ef72038894 correct page count in prompt 2012-11-16 20:41:44 +08:00
Lu Wang
76df0f4e97 progress indicator 2012-10-24 22:30:52 +08:00
Lu Wang
90fcf4ed08 fix --fit-width/height 2012-10-24 22:24:33 +08:00
Lu Wang
c68d593d8c .. 2012-10-24 22:19:59 +08:00
Lu Wang
b58df8cc16 check compiler flag 2012-10-12 22:39:58 +08:00
Lu Wang
52fb22f430 Merge branch 'master' into devv 2012-10-12 20:08:56 +08:00
Lu Wang
eb521b7a55 render text to the background when as clip path 2012-10-12 20:06:43 +08:00
Lu Wang
57bd310d7b calculate zoom factors in the constructoer 2012-10-09 23:17:47 +08:00
Lu Wang
792c2ff728 .. 2012-10-09 23:10:06 +08:00
Lu Wang
b3dabae52a squeeze-widt-glyph is now default 2012-10-08 20:16:43 +08:00
Lu Wang
e604ba7565 .. 2012-10-08 16:36:47 +08:00
Lu Wang
12676ccc4a create a glyph for ' ' when there is not one 2012-10-08 16:26:19 +08:00
Lu Wang
9a34d44809 bump version 2012-10-08 15:00:55 +08:00
Lu Wang
cb9a89d7b3 .. 2012-10-07 00:51:03 +08:00
Lu Wang
8b09338cad typo 2012-10-06 23:36:52 +08:00
Lu Wang
90af54acc4 .. 2012-10-06 22:41:06 +08:00
Lu Wang
a67a74fd51 remove-unused-glyphs is now default 2012-10-06 20:44:08 +08:00
Lu Wang
baf6ad22b6 fix mem issue of 'selected' 2012-10-06 20:25:11 +08:00
Lu Wang
7664fb5a79 remove alternate unicodes 2012-10-06 19:20:35 +08:00
Lu Wang
b2633ffc1b remove debug info 2012-10-06 15:23:20 +08:00
Lu Wang
250d23c712 remove hypot 2012-10-06 15:06:26 +08:00
Lu Wang
091b623872 new option: remove unused glyphs 2012-10-05 23:38:17 +08:00
Lu Wang
f2cc4b4bd1 dump raw font in debug mode 2012-10-04 22:21:46 +08:00
Lu Wang
5f5747738f working on integrating splash 2012-10-03 22:46:27 +08:00
Lu Wang
49fd259d6f css draw 2012-10-03 12:42:00 +08:00
Lu Wang
2c56c6f6ae cross-browser linear gradient 2012-10-03 03:00:51 +08:00
Lu Wang
2755cf6567 first implementation of linear gradient 2012-10-03 02:52:45 +08:00
Lu Wang
2041c2d146 working on linear gradient 2012-10-03 02:19:40 +08:00
Lu Wang
6ae97943df .. 2012-10-02 21:11:00 +08:00
Lu Wang
8c5851863c working on integrating splash/cairo 2012-10-02 20:56:40 +08:00
Lu Wang
a9790d68b3 integrating cairo outputdev 2012-10-02 20:41:39 +08:00
Lu Wang
2b06319207 TODO 2012-10-02 16:06:08 +08:00
Lu Wang
779c91f81e draw_scale->draw_text_scale 2012-10-02 14:19:20 +08:00
Lu Wang
4090d79eac typo 2012-10-02 12:43:08 +08:00
Lu Wang
a4a2252741 don't stroke when fill 2012-10-02 04:31:55 +08:00
Lu Wang
b5d73e6850 .. 2012-10-02 04:26:13 +08:00
Lu Wang
a568383a21 working on CSS draw 2012-10-02 04:06:38 +08:00
Lu Wang
1bfe86187e working on CSS draw 2012-10-02 01:59:04 +08:00
Lu Wang
c8133d64e3 new option for fixing glyph width 2012-10-01 00:37:53 +08:00
Lu Wang
dafc4b86dd fix glyph widths when not consistent with PDF [need more work] 2012-09-30 15:43:23 +08:00
Lu Wang
6b28049d76 Merge branch 'devv' of github.com:coolwanglu/pdf2htmlEX into devv
Conflicts:
	src/HTMLRenderer/text.cc
2012-09-28 20:07:25 +08:00
Lu Wang
f2af4be094 dirty fix:decompose ligatures when tounicode is not used 2012-09-28 17:53:36 +08:00
Lu Wang
10c55cffcb don't decompose ligature when tounicode map is not used, need more fix laster 2012-09-28 17:25:12 +08:00
Lu Wang
6a4c0856a7 Merge branch 'devv' of github.com:coolwanglu/pdf2htmlEX into devv 2012-09-28 17:21:23 +08:00
Lu Wang
88df24f78f avoid using round() 2012-09-27 20:17:11 +08:00
Lu Wang
e85ff593ee always use default font files for base 14 fonts 2012-09-27 17:17:08 +08:00
Lu Wang
09aa812460 debug info 2012-09-27 12:30:11 +08:00
Lu Wang
6fa147924e fix zoom factors" 2012-09-27 00:25:41 +08:00
Lu Wang
6e03e6d12a --fit-width/height 2012-09-27 00:17:56 +08:00
Lu Wang
d7ba0a95c6 avoid using rename() 2012-09-26 21:31:29 +08:00
Lu Wang
e3dc7214e1 better coordination for scrolling; page decoration 2012-09-25 21:56:48 +08:00
Lu Wang
835c1de436 remove debug info 2012-09-25 19:32:55 +08:00
Lu Wang
e8d09a0115 precise link dest 2012-09-25 19:29:59 +08:00
Lu Wang
a3a67d48ae fix scale 2012-09-25 01:12:28 +08:00
Lu Wang
49a527759b effect is too bad with muliplier=1, change it back to 4 and use old scale behavior in order to bypass the firefox bug 2012-09-25 00:55:41 +08:00
Lu Wang
26a23e856d set multiplier to 1.0 as FF has a bug about scrolling with transform 2012-09-25 00:39:45 +08:00
Lu Wang
983f6dfac2 auto mode when --tounicode=0 2012-09-24 16:59:47 +08:00
Lu Wang
eafa6986ea multi font in the same line 2012-09-24 02:35:06 +08:00
Lu Wang
b8dff4ea0d hinting 2012-09-24 02:28:53 +08:00
Lu Wang
a4f100a0af fixe logic of hinting 2012-09-24 02:22:42 +08:00
Lu Wang
01f546efce logic for hinting 2012-09-24 01:55:35 +08:00
Lu Wang
b02d4ea687 .. 2012-09-24 00:05:19 +08:00
Lu Wang
4c04f4fa3f check ttfautohint failure 2012-09-23 23:01:25 +08:00
Lu Wang
c393c1b206 working on external hint tool 2012-09-23 22:53:21 +08:00
Lu Wang
9e7f34bd5a working on external font hint tool 2012-09-23 20:25:22 +08:00
Lu Wang
201fecb18e .. 2012-09-23 18:23:32 +08:00
Lu Wang
b6ac8eb8f0 js 2012-09-23 13:04:29 +08:00
Lu Wang
9ed1931caa multiplier->8 2012-09-23 00:38:34 +08:00
Lu Wang
ca0b3e6cac single js 2012-09-22 22:47:44 +08:00
Lu Wang
ead9f06281 generate 'none' for id_matrix 2012-09-22 20:56:53 +08:00
Lu Wang
d1a5f8a3fe .. 2012-09-22 16:41:38 +08:00
Lu Wang
05680b25ff .. 2012-09-22 16:30:13 +08:00
Lu Wang
8020737b82 add jquery 2012-09-22 14:41:29 +08:00
Lu Wang
75c85903bc rename fontpreprocessor to preprocessor 2012-09-22 12:41:53 +08:00
Lu Wang
a5fc093542 .. 2012-09-22 01:25:59 +08:00
Lu Wang
1aebc73818 working on width for CID fonts 2012-09-22 01:19:15 +08:00
Lu Wang
cf1c1a2108 .. 2012-09-22 00:00:08 +08:00
Lu Wang
41d4cb9a9c fix for latest git of poppler : do not use utf.h 2012-09-21 23:46:47 +08:00
Lu Wang
1c5ea6daee fixe multiplier, don't make it too big 2012-09-21 21:02:54 +08:00
Lu Wang
1c48a9a4e1 disable auto hint by default 2012-09-21 20:06:53 +08:00
Lu Wang
7e6c6de1a1 .. 2012-09-21 18:14:20 +08:00
Lu Wang
661b1aa92a tweaking font-size-multiplier and auto-hint 2012-09-21 18:12:14 +08:00
Lu Wang
acfcb62bfc disable auto-hint by default 2012-09-21 17:37:21 +08:00
Lu Wang
818bbc7f67 set font-size-multiplier to 1 2012-09-21 17:05:01 +08:00
Lu Wang
6b60c08c7e add 'auto-hint' 2012-09-21 16:51:13 +08:00
Lu Wang
08e0918a4d remove intermediate save for asc/des 2012-09-21 14:25:46 +08:00
Lu Wang
24e0195e98 fix for IE: ttf permission, clickable div 2012-09-21 14:16:39 +08:00
Lu Wang
8978e15dc0 fix round 2012-09-21 03:11:36 +08:00
Lu Wang
3c32041adf working on tounicode 2012-09-20 23:40:44 +08:00
Lu Wang
38e4281562 asc/des not working..so re-enable intermediate save 2012-09-20 15:21:44 +08:00
Lu Wang
1821a3dcfc experimental: fix with of glphs accoring to the info in PDF 2012-09-20 13:24:16 +08:00
Lu Wang
d17e340643 fix space height 2012-09-19 12:24:13 +08:00
Lu Wang
356ee117f1 fix asc/dsec, but breaking '_', need create glyph for ' ' 2012-09-19 03:50:00 +08:00
Lu Wang
b7dcad3632 .. 2012-09-19 03:30:20 +08:00
Lu Wang
4949981f46 working on asc/des 2012-09-19 03:26:52 +08:00
Lu Wang
7c2679d23c working on asc/des 2012-09-19 03:20:34 +08:00
Lu Wang
c55fee198e fix link 2012-09-19 02:13:26 +08:00
Lu Wang
4c6a7b3631 README 2012-09-19 00:45:20 +08:00
Hongliang TIAN
ec9ec403b4 Fix jumping within page when JS enabled 2012-09-19 00:10:25 +08:00
Lu Wang
fc0f2ee12b fixing jumping 2012-09-18 21:16:20 +08:00
Lu Wang
011aab96bc typo 2012-09-18 16:02:17 +08:00
Lu Wang
d63ef17538 improve scroll.js 2012-09-18 15:27:17 +08:00
Lu Wang
866866f9d0 more precise annot link border 2012-09-18 02:49:23 +08:00
Lu Wang
af65485eb3 .. 2012-09-18 02:37:30 +08:00
Lu Wang
2d80cdc575 .. 2012-09-18 01:37:33 +08:00
Lu Wang
4b93595fdf message about libintl.h on Mac 2012-09-18 01:32:27 +08:00
Lu Wang
0e8a96fdd6 working on crash on mac 2012-09-17 22:16:07 +08:00
Lu Wang
ac6b04ab32 rename ff to ffw 2012-09-17 20:40:10 +08:00
Lu Wang
d2fb40fc00 check all ofstream 2012-09-17 20:07:50 +08:00
Lu Wang
1bd2ff24bc respect process-nontext 2012-09-17 15:28:52 +08:00
Lu Wang
6080ecb447 .. 2012-09-17 10:02:30 +08:00
Lu Wang
e42eada963 draw links: better integrating with poppler 2012-09-17 03:10:55 +08:00
Lu Wang
e2470203ab fix asc/des 2012-09-17 01:14:58 +08:00
Lu Wang
8b4ecd68ea use old behaviour of em/asc/des 2012-09-16 21:34:07 +08:00
Lu Wang
915013de65 border styles 2012-09-16 20:47:42 +08:00
Lu Wang
1765dac680 basic support for annot link 2012-09-16 18:30:34 +08:00
Lu Wang
7ee0cc0111 add class for height 2012-09-16 15:53:41 +08:00
Lu Wang
bae60e96c7 enable annotaion again... need check before disabling... 2012-09-16 14:04:43 +08:00
Lu Wang
60d6090940 fix including config.h for fontforge 2012-09-16 13:55:13 +08:00
Lu Wang
f02e1d4e1a don't hurt em size..breaking IE, will fix this later 2012-09-14 17:53:54 +08:00
Lu Wang
4d996a14a3 rounding float point numbers 2012-09-14 15:19:53 +08:00
Lu Wang
ec57ec7ef3 rounding float point numbers 2012-09-14 15:18:29 +08:00
Lu Wang
4a5c3e1d3e show warning when file cannot be opened 2012-09-14 14:53:24 +08:00
Lu Wang
a28d9f8a20 fix for IE, use new em size 2012-09-13 15:01:20 +08:00
Lu Wang
79601b6605 fix output filename 2012-09-13 11:38:56 +08:00
Lu Wang
f6508fc86e remove debug code...oops 2012-09-13 01:41:57 +08:00
Lu Wang
27df68ffe1 fix for split-pages 2012-09-13 01:30:51 +08:00
Lu Wang
edda8f17ba Merge branch 'devv' 2012-09-13 00:16:58 +08:00
Lu Wang
4b2b7be7cf add data-dir 2012-09-13 00:16:34 +08:00
Lu Wang
0a7d0f20a2 bahaviour with single-html & split-pages 2012-09-12 23:55:29 +08:00
Lu Wang
61cdce7e7d add manifest & split-pages 2012-09-12 23:26:14 +08:00
Lu Wang
8205cd5bc7 fix argparse for char 2012-09-11 22:30:12 +08:00
Lu Wang
812a41bdba .. 2012-09-11 22:18:31 +08:00
Lu Wang
3a5e776fa9 merging code 2012-09-11 22:08:55 +08:00
Hongliang TIAN
6579b54309 Silent Chrome warning by using MIME type font/opentype 2012-09-11 22:02:57 +08:00
Hongliang TIAN
19e4b97cf6 Smooth scrolling 2012-09-11 22:02:57 +08:00
Lu Wang
4a908db655 fixed: cannot parse arguments with spaces; add namespace pdf2htmlEX 2012-09-11 21:52:46 +08:00
Hongliang TIAN
90d97e4df2 Silent Chrome warning by using MIME type font/opentype 2012-09-11 21:21:38 +08:00
Hongliang TIAN
c2827e2235 Smooth scrolling 2012-09-11 21:04:55 +08:00
Lu Wang
64a765e90f fix a potential dangerous pointer 2012-09-11 16:37:41 +08:00
Lu Wang
70c287a565 working on bugs 2012-09-11 12:26:54 +08:00
Lu Wang
e087a42c6b .. 2012-09-11 03:01:02 +08:00
Lu Wang
efbb2a5204 remove pdf2htmlEX-config.h 2012-09-11 02:15:15 +08:00
Lu Wang
0e4f418766 add pdf2htmlEX-config.h 2012-09-11 02:14:47 +08:00
Lu Wang
181d0242cc successfully built with CYGWIN 2012-09-11 01:53:33 +08:00
Lu Wang
a8d0fd83d0 fix build on CYGWIN 2012-09-11 00:45:00 +08:00
Lu Wang
6cb77ab57f remove boost header inclusion 2012-09-10 23:48:00 +08:00
Lu Wang
d49dbc3deb working on arg parsing 2012-09-10 22:44:19 +08:00
Lu Wang
03779406b8 finish arg parsing 2012-09-10 22:22:01 +08:00
Lu Wang
2cc7da786a working on getopt 2012-09-10 17:01:15 +08:00
Lu Wang
efd15e3735 rearrange files 2012-09-10 13:08:47 +08:00
Lu Wang
236d3ff668 rearrange files 2012-09-10 13:03:25 +08:00
Lu Wang
59fb41d708 use abort() instead of exit(-1) 2012-09-10 03:30:54 +08:00
Lu Wang
454438f73f .. 2012-09-10 03:08:48 +08:00
Lu Wang
919658fc2b fix namespace 2012-09-10 03:03:21 +08:00
Lu Wang
88bde718c5 fix tounicode 2012-09-10 02:38:40 +08:00
Lu Wang
a9cc5b7031 remove boost::algorithm 2012-09-10 02:26:10 +08:00
Lu Wang
02a735aa9f use mkdtemp instead of tmpnam 2012-09-10 02:22:49 +08:00
Lu Wang
ec6ce4d888 fix suffix 2012-09-10 02:07:35 +08:00
Lu Wang
f860fb59e8 remove boost::filesystem 2012-09-10 01:40:37 +08:00
Lu Wang
b3ee260c6c fix font path 2012-09-10 01:27:32 +08:00
Lu Wang
2e3efcc964 fix temp dir 2012-09-10 01:23:28 +08:00
Lu Wang
8792527ef6 removing boost::filesystem 2012-09-10 01:18:09 +08:00
Lu Wang
52df16011f removing boost::filesystem 2012-09-10 00:21:46 +08:00
Lu Wang
16de2e5f5e buildable with gcc 4.4.6 2012-09-09 14:48:10 +08:00
Lu Wang
3de65a5156 working on relaxing c++11 dependency 2012-09-09 13:58:15 +08:00
Lu Wang
0eb3c5af99 working on new --tounicode 2012-09-09 01:49:47 +08:00
Lu Wang
4baba1fa3c always-aply-tounicode now covers cid type0 2012-09-08 10:54:34 +08:00
Lu Wang
5cf7f2fdf2 add encoding confliction warning in the 2nd phase 2012-09-08 10:24:04 +08:00
Lu Wang
94fe5f51a2 get rid of boost::algorithm 2012-09-08 01:18:15 +08:00
Lu Wang
296e91c951 optimize code; add some scope guards 2012-09-08 01:09:09 +08:00
Lu Wang
ff9b079a4f git rid of boost::format 2012-09-08 00:38:41 +08:00
Lu Wang
c12e064f74 set default space_threshold as 1/8 2012-09-07 16:19:22 +08:00
Lu Wang
a0de63d85a add FontPreprocessor.* 2012-09-07 15:03:03 +08:00
Lu Wang
c82b140243 option 'space-as-offset' 2012-09-07 08:39:21 +08:00
Lu Wang
e4ea4a975b disable annotation 2012-09-07 08:13:45 +08:00
Lu Wang
82dd71c803 slightly better memory management 2012-09-07 07:55:10 +08:00
Lu Wang
3b8452e717 README 2012-09-07 01:33:00 +08:00
Lu Wang
45b54d18c4 add a font preprocessor 2012-09-07 00:58:23 +08:00
Lu Wang
9a35f7df3b .. 2012-09-06 21:12:08 +08:00
Lu Wang
ef339371c4 fix state optimization 2012-09-06 19:05:49 +08:00
Lu Wang
2c8134ab73 fix cmake; cross-platform tmp-dir 2012-09-06 16:28:49 +08:00
Lu Wang
79778e0ff3 add option 'decompose-ligature' 2012-09-06 15:09:47 +08:00
Lu Wang
e191f8127d removed 'optmized' option, use greedy method automatically 2012-09-06 14:37:09 +08:00
Lu Wang
5986cee893 fixed a encoding bug 2012-09-06 01:01:47 +08:00
Lu Wang
96a87f8976 working on encoding 2012-09-06 00:07:21 +08:00
Lu Wang
5e71c166fc workaround for fontforge/config.h 2012-09-05 22:18:29 +08:00
Lu Wang
27b11243bd disable image.cc 2012-09-05 21:01:51 +08:00
Lu Wang
5adccb8b58 working on cmake 2012-09-05 18:43:37 +08:00
Lu Wang
2d558253a5 add an option 'optimize' 2012-09-05 16:19:01 +08:00
Lu Wang
bbe9b99b4e optimize states in HTML 2012-09-05 15:13:21 +08:00
Lu Wang
6079a05e34 first implemenation of LineBuffer 2012-09-04 23:33:15 +08:00
Lu Wang
aed5f3ba04 clean code 2012-09-04 12:54:47 +08:00
Lu Wang
0cfd146173 fix some states depends on draw_scale that are not updated correctly 2012-09-04 12:27:06 +08:00
Lu Wang
35809470af fix cid flatten 2012-09-03 23:19:06 +08:00
Lu Wang
8bfd45d4d1 build ps encodnig directly without read/write fiels 2012-09-03 22:32:56 +08:00
Lu Wang
ba305ae9fd disable poppler log function 2012-09-03 21:59:39 +08:00
Lu Wang
069a072642 fixing working with fontforge 2012-09-03 21:54:48 +08:00
Lu Wang
4543fc9dbc remove scripts, link to fontforge directly 2012-09-03 20:57:14 +08:00
Lu Wang
5459447127 disable embed-base-font by default, as duplicated fonts are not detected now 2012-09-02 21:34:30 +08:00
Lu Wang
c68974c5e5 .. 2012-09-02 02:25:54 +08:00
Lu Wang
5cf21b4fb7 added a warning for conflicted font encoding 2012-09-02 02:22:16 +08:00
Lu Wang
d12b8d086b fixed a line merging bug 2012-08-31 23:46:59 +08:00
Lu Wang
5cf5a1c725 fix use_to_unicode 2012-08-31 23:23:03 +08:00
Lu Wang
4e13bece0e fix using wrong abs() bug 2012-08-31 23:14:05 +08:00
Lu Wang
e44483e7c3 .. 2012-08-31 20:46:05 +08:00
Lu Wang
0e9cc3444e added an option to embed external fonts 2012-08-31 17:47:37 +08:00
Lu Wang
14a137b449 fix unify.pe 2012-08-31 17:06:19 +08:00
Lu Wang
9a2047777f use asc/dec of local matched font if possible 2012-08-31 15:50:14 +08:00
Lu Wang
0ef68558ae added an option to embed local font for base 14 fonts 2012-08-31 15:27:17 +08:00
Lu Wang
a1fa24422d better space detection 2012-08-31 13:00:24 +08:00
Lu Wang
e49459d21f better asc/des handling 2012-08-31 12:45:16 +08:00
Lu Wang
c99f725c72 unify asc/dsc for FF/Chrome 2012-08-31 10:24:26 +08:00
Lu Wang
6916ffb91b unify asc/dsc for ff/chrome, need more work 2012-08-31 10:10:06 +08:00
Lu Wang
d72c5123e8 .. 2012-08-31 01:18:28 +08:00
Lu Wang
1492d815ad better positioning
need to check:
Q1Q2.pdf on FF
simple.pdf
2012-08-31 01:08:31 +08:00
Lu Wang
f661aa5d8a use real asc/dec of the extracted font; cache line for multiple font/size 2012-08-31 00:25:05 +08:00
Lu Wang
e9b353c3de do not round the coordinates 2012-08-30 23:36:30 +08:00
Lu Wang
4b1aff0da5 Better solution for ascent/descent
but need more work when:
- different styles in the same line
- non-embedded fonts (that we cannot find the correct ascent/descent)
2012-08-30 20:08:42 +08:00
Lu Wang
02d5cbf244 better solution to the ascent/descent problem 2012-08-30 08:39:49 +08:00
Lu Wang
6f87affd82 corrected vertical position of LaTeX Math fonts, but this may hurt the font? just wait for bugs 2012-08-30 01:01:45 +08:00
Lu Wang
19dbaa3149 .. 2012-08-28 19:10:31 +08:00
Lu Wang
cfc91c2a3f .. 2012-08-28 19:00:30 +08:00
Lu Wang
d36a227a9e .. 2012-08-28 18:27:45 +08:00