Commit Graph

391 Commits

Author SHA1 Message Date
Vincent Wei
90e4ee91fe Tune BIDIType to Uint16 instead of unsigned int 2019-03-07 12:40:37 +08:00
Vincent Wei
83207ca329 Update Unicode data to 11.0.0 2019-03-07 11:46:17 +08:00
Vincent Wei
dcd31bed7c Indic shaping table 2019-03-07 11:02:51 +08:00
Vincent Wei
76cf8a02af Arabic shaping tables 2019-03-07 10:20:41 +08:00
Vincent Wei
10d8b43c61 update emoji data tables 2019-03-07 09:55:23 +08:00
Vincent Wei
554b709890 Restore prototype of DrawGlyphStringEx and add DrawShapedGlyphString 2019-03-07 08:55:47 +08:00
Vincent Wei
d877e86adc New API description for GetShapedGlyphsBasic, GetShapedGlyphsComplex, GetGlyphsExtentInfo, and GetGlyphsPositionInfo 2019-03-06 17:20:19 +08:00
Vincent Wei
c5e5bd01e8 implement get_glyph_value for FreeType2 engine; the glyph value of this devfont is the glyph index of the default CMap 2019-03-06 16:03:00 +08:00
Vincent Wei
e3760457c4 GetGlyphsExtentPointEx -> GetGlyphsExtentFromUChars 2019-03-06 14:42:16 +08:00
Vincent Wei
c6ed1626f9 cleanup 2019-03-05 19:09:26 +08:00
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