Commit Graph

381 Commits

Author SHA1 Message Date
Vincent Wei
b4b18828b2 change GLYPHTYPE_ to CHARTYPE_ 2019-03-05 18:44:39 +08:00
Vincent Wei
36167be7e6 Tune APIs of Achar32 2019-03-05 18:18:54 +08:00
Vincent Wei
4b633c801d Introduce the Mchar32 type, and distinguish glyph and character 2019-03-05 12:27:35 +08:00
Vincent Wei
33fd8a8668 tune TTF cache arguments 2019-03-05 10:50:25 +08:00
Vincent Wei
94f44890a5 tune code to handle auto-italic correctly 2019-03-05 10:42:16 +08:00
Vincent Wei
cc7441c4dd add df_slot to get_font_size of DEVFONT operators in order to set scale correctly 2019-03-05 09:16:36 +08:00
Vincent Wei
6fdc0281ba handle whitespace gracefully 2019-03-04 18:08:36 +08:00
Vincent Wei
136a51d9b8 cleanup 2019-03-04 16:47:19 +08:00
Vincent Wei
5e871c486b Tune FS_SLANT_XXX and tune auto bold implementation 2019-03-04 16:30:25 +08:00
Vincent Wei
fdd69bf470 fix bug: do not override bitmap size for grey and subpixel glyph 2019-03-04 16:30:17 +08:00
Vincent Wei
10e55b0d4f restore style for TTF cache 2019-03-04 14:37:59 +08:00
Vincent Wei
682c81d636 tune 2019-03-04 11:52:47 +08:00
Vincent Wei
9eb4e54b75 cleanup 2019-03-04 11:39:32 +08:00
Vincent Wei
e43bc07a63 tune fontcache functions: use devfont name instead of family and style 2019-03-04 11:37:50 +08:00
Vincent Wei
508130afdc tune 2019-03-03 20:06:07 +08:00
Vincent Wei
d60c057dc4 tune load_flags 2019-03-03 20:00:54 +08:00
Vincent Wei
8f5a741af6 tune load_flags 2019-03-03 19:58:29 +08:00
Vincent Wei
bee1bc87c4 tune code for size_request of LOGFONT 2019-03-03 19:14:18 +08:00
Vincent Wei
3a9274e9a0 add SIZE* sz for get_glyph_monobmp and get_glyph_graybmp 2019-03-03 18:54:39 +08:00
Vincent Wei
44ee735cd6 fix a bug of is_glyph_exsited (always returns FALSE) 2019-03-03 18:54:14 +08:00
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