Commit Graph

361 Commits

Author SHA1 Message Date
Vincent Wei
2c010cdbeb fix a bug of fontDoesMatchFamily 2019-03-03 16:51:49 +08:00
Vincent Wei
a04ae43bdb fix bug of gdiCreateLogFont 2019-03-03 16:43:40 +08:00
Vincent Wei
5c333445c5 tune font styles 2019-03-01 20:01:30 +08:00
Vincent Wei
dd93e67a3d tune document 2019-03-01 14:38:48 +08:00
Vincent Wei
d886268eee cleanup and check the duplicated fontname of a new devfont 2019-03-01 14:20:46 +08:00
Vincent Wei
090824cb91 bugfix 2019-02-28 19:08:05 +08:00
Vincent Wei
00eb4e363f Enhance LOGFONT to support multiple MBC devfonts (up to 7) 2019-02-28 18:47:44 +08:00
Vincent Wei
f73f0786ee remove break_classes argument and add uchars argument for GetGlyphsAndBreaks 2019-02-28 11:50:00 +08:00
Vincent Wei
dacc81cf2a Rename UCharGetBreak to UCharGetBreakType; Cleanup and optimization 2019-02-28 09:47:25 +08:00
Vincent Wei
97c6249af5 cleanup: remove definition of DEBUG 2019-02-27 18:47:25 +08:00
Vincent Wei
7ce1fe47ff implementation of character transformation of GetGlyphsAndBreaks; fix a bug of UCharToFullSizeKana 2019-02-27 18:33:32 +08:00
Vincent Wei
8e66bb366e tune word breaks and sentence breaks 2019-02-27 17:56:41 +08:00
Vincent Wei
ce7fd6e776 passed all test cases for UAX#14 and UAX#29 2019-02-27 11:37:17 +08:00
Vincent Wei
957f9cbb47 remove break_classes argument from GetGlyphsExtentPointEx 2019-02-26 19:07:37 +08:00
Vincent Wei
2a7e3003bd Rename GetGlyphsByRules to GetGlyphsAndBreaks 2019-02-26 18:47:33 +08:00
Vincent Wei
19cd208a6e support for GB, WB, SB in break_oppos; add emoji tables 2019-02-26 17:59:50 +08:00
Vincent Wei
6a44111a35 cleanup 2019-02-25 17:09:37 +08:00
Vincent Wei
fd5d55942b use Uint16 type for break_oppo instead of Uint8 type in order to contain GB, WB, SB flags 2019-02-25 16:42:49 +08:00
Vincent Wei
d4e7f048f0 fixbug 2019-02-25 09:12:51 +08:00
Vincent Wei
d90c4d5842 cleanup 2019-02-24 18:31:38 +08:00
Vincent Wei
0f562cd39f cleanup 2019-02-24 15:02:16 +08:00
Vincent Wei
fb01003c45 use LEN_VBF_NAME instead of LEN_DEVFONT_NAME 2019-02-24 14:56:43 +08:00
Vincent Wei
9bcea02975 cleanup 2019-02-24 13:35:43 +08:00
Vincent Wei
c51ae8d1c1 cleanup 2019-02-22 19:11:37 +08:00
Vincent Wei
b8a5ad2d73 return NULL when not matched devfont 2019-02-22 19:11:26 +08:00
Vincent Wei
39b8c88d1b new DC attribute: DC_ATTR_WORD_EXTRA 2019-02-22 18:46:23 +08:00
Vincent Wei
1e73f6713a enable cache of freetype2 engine for rotated glyphs 2019-02-22 17:51:41 +08:00
Vincent Wei
97babaa4e2 add size_request in LOGFONT for original requested size 2019-02-22 17:46:13 +08:00
Vincent Wei
c6c486f306 almost there 2019-02-22 15:47:20 +08:00
Vincent Wei
338f10b896 debug 2019-02-22 12:39:07 +08:00
Vincent Wei
2353a873a8 debug GetGlyphsExtentPointEx 2019-02-22 10:49:02 +08:00
Vincent Wei
52c539e870 debug 2019-02-21 20:21:02 +08:00
Vincent Wei
64d63a84c5 cleanup and bugfixs 2019-02-21 18:43:14 +08:00
Vincent Wei
3d80d73450 cleanup and bugfixs 2019-02-21 18:38:49 +08:00
Vincent Wei
2e04898fbe fix bugs 2019-02-21 15:56:51 +08:00
Vincent Wei
f390e1a091 fix bugs 2019-02-21 15:51:11 +08:00
Vincent Wei
848c1d7ce1 tune 2019-02-21 12:07:02 +08:00
Vincent Wei
0c0becc780 tune 2019-02-21 10:32:16 +08:00
Vincent Wei
0e918da2a4 bugfix: get_ch_width does not check glyph value 2019-02-21 10:32:01 +08:00
Vincent Wei
7f36c339b7 tune 2019-02-20 18:21:17 +08:00
Vincent Wei
871486daab cleanup 2019-02-20 16:41:21 +08:00
Vincent Wei
0cffc8798f Suppress and/or hang spaces and punctations for GetGlyphsExtentPointEx 2019-02-20 16:00:16 +08:00
Vincent Wei
4d4a3901eb TODOs 2019-02-19 18:53:20 +08:00
Vincent Wei
50e95cb461 Initial implementation of GetGlyphsExtentPointEx and DrawGlyphStringEx 2019-02-19 18:38:57 +08:00
Vincent Wei
d223edf0ba partial implementation of GetGlyphsExtentPointEx 2019-02-19 17:48:39 +08:00
Vincent Wei
8e88082f07 UCharGetType -> UCharGetCategory 2019-02-19 10:45:49 +08:00
Vincent Wei
5b1762b637 Enhance GetGlyphsByRules to return breaking classes 2019-02-19 09:41:22 +08:00
Vincent Wei
6c83ea4ceb implementation for LBP_NORMAL and LBP_STRICT; both passed all test cases 2019-02-18 18:24:59 +08:00
Vincent Wei
5aa5e75813 UCharBasicType -> UCharGeneralCategory 2019-02-18 12:16:49 +08:00
Vincent Wei
1ba35dcbf6 implementation of WBR_BREAK_ALL and WBR_KEEP_ALL 2019-02-18 11:44:54 +08:00