Commit Graph

148 Commits

Author SHA1 Message Date
Duan Yao 66231996fd Improve checking of illegal unicode in HTML, matching Webkit and Firefox's implementation. 2015-03-18 19:06:06 +08:00
Lu Wang 92413fdec3 use auto when possible
fix typo
2014-11-16 22:11:03 +08:00
Duan Yao d0348b3974 Rename class CoveredTextHandler to CoveredTextDetector 2014-06-29 14:48:57 +08:00
Duan Yao 24b5eeb1e5 re-apply "fix rise with optimize-text(9c0b2a8a)" after rebase 2014-06-29 13:51:31 +08:00
Duan Yao 39e171a737 Improve covered text handling: 1. take care of chars corespond to 0 or more than one unicode points;
2. merge sibling invisiable spans; 3. improve interfaces of HTMLLineState and HTMLRenderer;
2014-06-29 13:12:35 +08:00
Duan Yao e69e9a8be8 Fix word space problem in HTMLRenderer::drawString(). 2014-06-29 13:12:34 +08:00
Duan Yao 4c2fcb4f0d Fix of "Fix issue in char displacement calculation". 2014-06-29 13:12:34 +08:00
Duan Yao b9899d8d4a Fix issue in char displacement calculation. 2014-06-29 13:08:53 +08:00
Duan Yao bd3f165ae2 Handle texts covered by paths; concentrate drawing tracing codes to DrawingTracer calss; disable CSS drawing. 2014-06-29 13:04:12 +08:00
Duan Yao ce28c00a49 Implement covered text handling. 2014-06-29 13:04:12 +08:00
Lu Wang 9c0b2a8a74 fix rise with optimize-text 2014-06-28 02:04:20 -07:00
Lu Wang aea00515fe WIP: HTMLTextLine 2013-12-22 16:59:59 +08:00
Lu Wang 4a8d0bcd31 clean a few pointers to jquery 2013-11-09 16:22:45 +08:00
Lu Wang 8c4e14b1fa working on type3 processing 2013-09-19 05:56:57 +08:00
Lu Wang ea4fb47f04 working on dumping type 3 glyphs 2013-09-19 02:41:00 +08:00
Lu Wang cf5507f997 workaround for NBSP 2013-05-02 14:32:17 +08:00
Lu Wang e7a55c6371 working on nbsp 2013-05-02 00:56:37 +08:00
Lu Wang 1da9be54d9 refactor line/page stuffs, preparing to support clip 2013-04-07 23:50:23 +08:00
Lu Wang 68791299e5 add HTMLTextPage for further optimization 2013-04-07 00:42:54 +08:00
Lu Wang 8f929a663a TextLineBuffer -> HTMLTextLine 2013-04-06 23:51:33 +08:00
Lu Wang ecebfb46e8 use reference instead of pointer 2013-04-06 17:01:05 +08:00
Lu Wang 1ddcaafd57 rearrange files 2013-04-06 16:45:01 +08:00
Lu Wang bc9318e33d separate TextLinebuffer and HTMLRenderer 2013-04-06 16:32:31 +08:00
Lu Wang cf636fd41f fix word space 2013-04-05 18:07:37 +08:00
Lu Wang 7275ebde8b refactor state managers 2013-04-04 21:19:28 +08:00
Lu Wang 7cc6f1efcd clean code 2013-04-04 01:35:44 +08:00
Lu Wang 5102e8c3e0 make sure contents are cleared in TextLineBuffer::flush 2013-04-03 16:28:06 +08:00
Lu Wang f4613ceea5 process hidden text (render == 3), make them selectable in HTML. BREAK TEXT STROKE SIMULATION IN FIREFOX 2013-02-23 22:30:21 +08:00
Lu Wang 88cd306e79 clean 2013-02-05 22:07:51 +08:00
Lu Wang dc0681ad84 working on state trackers 2013-02-05 14:21:07 +08:00
Lu Wang 4858f12d9b letter_space_tracker 2013-02-05 13:57:11 +08:00
Lu Wang 4798945c1d .. 2013-01-26 19:45:48 +08: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 5842d2279d separate TextLineBuffer 2012-12-11 20:48:01 +08:00
Lu Wang d1dfb33e43 .. 2012-11-30 17:33:27 +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 35fccdc28c reorganizaing 2012-11-29 17:45:26 +08:00
Lu Wang 63287ce491 reorganize files 2012-11-29 17:28:05 +08:00
filodej a5ccc7f073 merge filodej 2012-11-29 16:55:20 +08:00
Lu Wang b58df8cc16 check compiler flag 2012-10-12 22:39:58 +08:00
Lu Wang 12676ccc4a create a glyph for ' ' when there is not one 2012-10-08 16:26:19 +08:00
Lu Wang cb9a89d7b3 .. 2012-10-07 00:51:03 +08:00
Lu Wang 90af54acc4 .. 2012-10-06 22:41:06 +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 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 2041c2d146 working on linear gradient 2012-10-03 02:19:40 +08:00
Lu Wang 779c91f81e draw_scale->draw_text_scale 2012-10-02 14:19:20 +08:00