Vincent Wei
53253ed101
optimize the font matching algorithm
2019-01-16 10:18:26 +08:00
Vincent Wei
4bd7c0eef4
add mutex for freetype2 font engine (MGRM_THREADS) and remove lock/unlock of __mg_gdi_lock in _font_get_glyph_advance
2019-01-16 10:06:46 +08:00
Vincent Wei
9af71438dd
cleanup
2019-01-15 17:02:11 +08:00
Vincent Wei
747894247b
tune release notes
2019-01-15 16:18:45 +08:00
Vincent Wei
1ed5b44926
cleanup for 3.2.2
2019-01-15 15:13:50 +08:00
Vincent Wei
16287af2a6
fix the bug of wrong bbox handling for SUBPIXEL rendering of glyph
2019-01-15 14:53:57 +08:00
Vincent Wei
82033a44dd
cleanup and fix the bug of wrong bboxing handling for SUBPIXEL rendering of glyph
2019-01-15 14:50:46 +08:00
Vincent Wei
1c9537fc63
BMP_TYPE_REPLACEKEY for BITMAP; Declaration of GetGlyphsExtentPointEx and DrawGlyphStringEx; cleanup of GLYPHINFO and GLYPHBITMAP
2019-01-15 10:17:25 +08:00
Vincent Wei
612c395c06
Backward compatiblity of CreateLogFont
2019-01-14 10:23:37 +08:00
Vincent Wei
8dc0ee2ade
cleanup
2019-01-13 18:56:41 +08:00
Vincent Wei
caefd7355a
cleanup
2019-01-13 18:36:03 +08:00
Vincent Wei
9ea0e15dba
try to match devfont without style
2019-01-13 17:42:27 +08:00
Vincent Wei
83c8984c74
support flipping glyph for subpixel rendering
2019-01-13 16:59:36 +08:00
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