Commit Graph

49 Commits

Author SHA1 Message Date
Vincent Wei
4e0a9a8d37 two implementations for biditype, bracket and mirror 2019-03-10 16:54:45 +08:00
Vincent Wei
cc01ce0bbc new implementation of UNICODE BIDIRECTIONAL ALGORITHM 2019-03-08 20:37:44 +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
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
e3760457c4 GetGlyphsExtentPointEx -> GetGlyphsExtentFromUChars 2019-03-06 14:42:16 +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
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
3a9274e9a0 add SIZE* sz for get_glyph_monobmp and get_glyph_graybmp 2019-03-03 18:54:39 +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
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
19cd208a6e support for GB, WB, SB in break_oppos; add emoji tables 2019-02-26 17:59:50 +08:00
Vincent Wei
fb01003c45 use LEN_VBF_NAME instead of LEN_DEVFONT_NAME 2019-02-24 14:56:43 +08:00
Vincent Wei
39b8c88d1b new DC attribute: DC_ATTR_WORD_EXTRA 2019-02-22 18:46:23 +08:00
Vincent Wei
e3f2cc22ec tune BIDILogGlyphs2VisGlyphsEx and BIDILogGlyphs2VisGlyphs 2019-02-17 12:56:35 +08:00
Vincent Wei
a052b7bf55 cleanup BIDI APIs 2019-02-14 19:45:50 +08:00
Vincent Wei
f34ac9d0fe UChar32 -> Uchar32; UChar16 -> Uchar16 2019-01-18 13:56:18 +08:00
Vincent Wei
b35e38bdff tune length of devfont name fields; devfont now supports family aliases 2019-01-17 14:55:06 +08:00
Vincent Wei
58275c88e9 call REAL_GLYPH for devfont operators 2019-01-17 12:40:25 +08:00
Vincent Wei
e68ee00b85 rename glyph type macros and glyph type now includes MCHAR_TYPE_XXX for ASCII characters 2019-01-17 11:59:29 +08:00
Vincent Wei
95d09a7673 tune and cleanup 2019-01-16 11:43:27 +08:00
Vincent Wei
caefd7355a cleanup 2019-01-13 18:36:03 +08:00
Vincent Wei
b18cd49398 add GDCAP_DPI for GetGDCapability 2019-01-10 17:31:50 +08:00
Vincent Wei
c643b10bbc Implementation of new API: SyncUpdateDC 2018-11-29 12:22:01 +08:00
HOU Huihua
7805a3f5c3 fixbug: new DC attribute: bidi_flags 2018-11-18 13:11:23 +08:00
10km
ce442b5e96 add __mg_save_jpg function for storing MYBITMAP as JPEG file.
enable application to store image as JPEG file.
description: Convert all color space(RGBA,BGR,RGB565,index color256,16) to RGB ,and compress JPEG with JCS_RGB color space. 
Can use preprocessor _MGIMAGE_JPG_SAVE_QUALITY to define JPEG compression quality.default value 90.
For RGBA color space image ,can use _MGIMAGE_JPG_RGBA_BGCOLOR define background color,default value 0XFFFFFF (white).
For image with index color space(256 or 16) ,the argument 'pal' of __mg_save_jpg must be NULL.
LIMIT:type of MG_RWops object must be RWAREA_TYPE_STDIO ( a file).not suport RWAREA_TYPE_MEM.
2018-09-04 13:40:59 +08:00
Vincent Wei
ae532f03fa add GetGlyphBIDIType and BidiCharType -> Uint32 2018-08-29 20:03:20 +08:00
Vincent Wei
9945cd25a5 BIDI flag for DC 2018-08-28 18:38:20 +08:00
Vincent Wei
808718bdb4 Support BIDI for UNICODE charsets and cleanup the implementation 2018-08-27 18:55:12 +08:00
VincentWei
378f7e1986 cleanup 2018-05-19 15:13:12 +08:00
VincentWei
62efa8b29a clean up the header copying statements 2018-02-04 17:01:37 +08:00
VincentWei
0bec004433 add MAKEWPARAM and FIRSTBYTE~FOURTHBYTE macros, and remove HIBYTE_WORD16, LOBYTE_WORD16 macros. Now, MAKEWORD(lobyte, hibyte) returns same value on both 32-bit and 64-bit platforms 2018-02-02 15:05:00 +08:00
VincentWei
d8b8139ca1 use UINT stead of int for control identifiers and menu item identifiers 2018-01-31 16:03:41 +08:00
VincentWei
8ddeb9806b define MAXLEN_CLASSNAME to 31 2018-01-28 01:07:34 +08:00
VincentWei
6290779a02 tune the implementation of tracing message 2018-01-21 18:09:51 +08:00
VincentWei
dbcc408ad3 make timer-related APIs compiant to 64-bit 2018-01-21 17:07:48 +08:00
VincentWei
766ddb5555 tune code for 64b (MiniGUI-Processes runmode) 2018-01-19 15:35:26 +08:00
VincentWei
b4e43c3514 tune code for 64 bitts 2018-01-18 16:51:44 +08:00
VincentWei
b59f0b6a93 tune code for 64-bit 2018-01-17 18:51:41 +08:00
VincentWei
2fbff87cb4 tune for 64 bits 2018-01-16 19:07:41 +08:00
Vincent Wei
267d9c1b12 merge from rel-3-0 branch 2017-10-26 13:34:57 +08:00
VincentWei
edb195523f Remove some inline definitions 2017-10-24 18:05:52 +08:00
Vincent Wei
e87d052072 initical commit 2017-05-29 12:20:05 +08:00