Commit Graph

402 Commits

Author SHA1 Message Date
Vincent Wei
cc01ce0bbc new implementation of UNICODE BIDIRECTIONAL ALGORITHM 2019-03-08 20:37:44 +08:00
Vincent Wei
0093ac3edc New APIs: UCHAR2ACHAR, UChar2AChar, UChars2AChars 2019-03-08 14:39:48 +08:00
Vincent Wei
45db7410c0 Update Unicode tables to 12.0.0 2019-03-08 11:52:49 +08:00
Vincent Wei
e6df345736 Update LB8a rule to conform Unicode 12.0.0 2019-03-08 11:52:36 +08:00
Vincent Wei
e7b05090cd Rename MCHAR_TYPE_XXX to ACHAR_BASIC_XXX; Tune implementation of GetACharType and GetACharBIDIType 2019-03-08 10:17:18 +08:00
Vincent Wei
b82128091e add const for keymap data 2019-03-07 19:09:34 +08:00
Vincent Wei
adab30261c add const to incore-res data 2019-03-07 18:57:04 +08:00
Vincent Wei
7e0b378475 add const to _cos_tbl, _tag_tbl, and _acos_tbl; add prefix __mg to these global variables 2019-03-07 18:46:42 +08:00
Vincent Wei
d1ef9e2598 rename _unicode_is_emoji_extended_pictographic to _unicode_is_extended_pictographic 2019-03-07 17:46:35 +08:00
Vincent Wei
5887668b17 add new API UCharGetBracketType 2019-03-07 17:42:47 +08:00
Vincent Wei
e6cb8f272b update Unicode bidi tables 2019-03-07 17:31:15 +08:00
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