Commit Graph
381 Commits
Author SHA1 Message Date
Vincent Wei c975fe5b8d tune release notes 2019-01-13 16:23:57 +08:00
Vincent Wei b4569adbd5 skipp null pixels for subpixel glyph 2019-01-13 16:22:34 +08:00
Vincent Wei 4761333a1a skip null pixels for subpixel 2019-01-13 16:20:08 +08:00
Vincent Wei 715a44beeb typo for pitch 2019-01-13 14:32:49 +08:00
Vincent Wei e6bb4fa05f tune RELEASE NOTES 2019-01-13 14:24:14 +08:00
Vincent Wei c436af69bb fixbug: No need to make the pitch of FT2 monobitmap is single-byte aligned 2019-01-13 14:22:54 +08:00
Vincent Wei 8538f29f70 fixbug: No need to make the pitch of FT2 monobitmap is single-byte aligned 2019-01-13 14:21:18 +08:00
Vincent Wei b658413961 cleanup 2019-01-13 13:17:23 +08:00
Vincent Wei bb187f1ee3 cleanup font name and glyph renderer 2019-01-13 13:10:13 +08:00
Vincent Wei ea8ab93bad cleanup 2019-01-12 15:02:56 +08:00
Vincent Wei 9226fcff26 add examples/createlogfontex.c and cleanup examples/createlogfont.c 2019-01-12 14:03:52 +08:00
Vincent Wei 05cf370155 Cleanup LOGFONT styles 2019-01-12 13:55:51 +08:00
Vincent Wei 0d2352884a tune style for LOGFONT 2019-01-11 10:55:55 +08:00
Vincent Wei b18cd49398 add GDCAP_DPI for GetGDCapability 2019-01-10 17:31:50 +08:00
Vincent Wei 1c2b4a893a Tune GetGlyphInfo and GLYPHINFO 2019-01-10 16:20:36 +08:00
Vincent Wei 5ef6e45848 new type: QDWORD for a quauter of DWORD 2018-12-27 12:12:08 +08:00
Vincent Wei 088ef49c83 cleanup 2018-12-20 15:53:48 +08:00
Vincent Wei dbbd0f4da2 cleanup 2018-12-11 18:02:46 +08:00
Vincent Wei e4a2294ded New API: UpdateInvalidClient 2018-12-03 18:21:06 +08:00
Vincent Wei f145f409e5 tune format 2018-11-29 12:39:36 +08:00
Vincent Wei c44a64c95e tune format 2018-11-29 12:37:34 +08:00
Vincent Wei 2afb27a89d Release notes for 3.2.1 2018-11-29 12:35:56 +08:00
Vincent Wei c643b10bbc Implementation of new API: SyncUpdateDC 2018-11-29 12:22:01 +08:00
Vincent Wei c04c44eefb remove extra \n for _DBG_PRINTF 2018-11-22 15:28:04 +08:00
Vincent Wei 98baad2755 remove DC_ATTR_BIDI_FIRSTCH_TYPE 2018-11-18 13:58:49 +08:00
HOU Huihua e9e7c43029 Merge branch 'master' of github.com:VincentWei/minigui 2018-11-18 13:11:50 +08:00
HOU Huihua 7805a3f5c3 fixbug: new DC attribute: bidi_flags 2018-11-18 13:11:23 +08:00
Vincent Wei 0abc9c4aa6 use macro for _DBG_PRINTF and _ERR_PRINTF 2018-11-08 18:41:58 +08:00
Vincent Wei 2a97f34534 cleanup 2018-09-19 11:16:52 +08:00
VincentWei 6de3db1482 TUNE 2018-09-18 13:36:33 +08:00
VincentWei 019bc4deef Merge branch 'master' of github.com:VincentWei/minigui 2018-09-18 10:55:35 +08:00
VincentWei 9e17f428fe BUGFIXING: handle PNG_COLOR_TYPE_GRAY_ALPHA color type 2018-09-18 10:55:06 +08:00
Vincent Wei 120705742e cleanup and remove unused code 2018-09-06 16:13:22 +08:00
Vincent Wei 6e5407f42d cleaup for coding style 2018-09-04 16:33:17 +08:00
Vincent Wei 2237be6721 Merge pull request #12 from 10km/master
add __mg_save_jpg function for storing MYBITMAP as JPEG file.
2018-09-04 16:23:20 +08:00
10km faa7a2636e fix bug for MYBITMAP_get_pixel_row_pal16,MYBITMAP_get_pixel_row_pal256 2018-09-04 16:06:06 +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
10km 69050f7a5c Merge pull request #1 from VincentWei/master
update
2018-08-31 22:25:44 +08:00
Vincent Wei fcbcc86c6f tune for the coding style 2018-08-31 16:57:57 +08:00
Vincent Wei 07a51b22ae Merge pull request #10 from 10km/master
modified logic for checking JPEG format.
2018-08-31 16:51:53 +08:00
10km 1297ba836d improve logic of __mg_check_jpg for performance .
loop for reading JPEG marker from MG_RWops object,if meet other JPEG marker(eg. SOI,APPn,DQT) skip the payload bytes for next marker,until reach SOF0 or SOF2.
about JPEG marker, see also https://en.wikipedia.org/wiki/JPEG
2018-08-31 15:00:50 +08:00
10km 09e83b6a8b modified logic judgment for checking JPEG format.JFIF and Exif is morst popular file format of JPEG encoded image,but not all,for MJPEG format that used by camera,the flag is 'AVI1' OR not any flag ,starting FFC0 after FFD8.
so the old logic is not work for other JPEG format.see  my blog for detail : https://blog.csdn.net/10km/article/details/82155967
2018-08-30 17:10:26 +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
VincentWei 4f515a0359 fix the error of arabic charset 2018-08-27 19:13:56 +08:00
Vincent Wei 808718bdb4 Support BIDI for UNICODE charsets and cleanup the implementation 2018-08-27 18:55:12 +08:00
Vincent Wei e7924ebd51 fix bug of free null pointer 2018-08-25 18:27:37 +08:00
Vincent Wei 1935734df1 debug 2018-07-31 19:05:59 +08:00
Vincent Wei 5ff06823e4 check socket closed when reading 2018-07-31 11:13:33 +08:00
Vincent Wei 1bc43f6580 tune 2018-07-30 16:40:28 +08:00