mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-30 06:23:22 +08:00
change version to 4.0.0
This commit is contained in:
+3
-3
@@ -236,7 +236,7 @@ DWORD fontConvertStyle (const char* style_part)
|
||||
case FONT_WEIGHT_BOLD:
|
||||
style |= FS_WEIGHT_BOLD;
|
||||
break;
|
||||
/* deprecated since v3.4.0
|
||||
/* deprecated since v4.0.0
|
||||
case FONT_WEIGHT_BOOK:
|
||||
style |= FS_WEIGHT_BOOK;
|
||||
break;
|
||||
@@ -262,7 +262,7 @@ DWORD fontConvertStyle (const char* style_part)
|
||||
case FONT_WEIGHT_THIN:
|
||||
style |= FS_WEIGHT_THIN;
|
||||
break;
|
||||
/* deprecated since v3.4.0
|
||||
/* deprecated since v4.0.0
|
||||
case FONT_WEIGHT_SUBPIXEL:
|
||||
style |= FS_WEIGHT_SUBPIXEL;
|
||||
break;
|
||||
@@ -472,7 +472,7 @@ int fontGetWidthFromName (const char* name)
|
||||
return atoi (width);
|
||||
}
|
||||
|
||||
/* Since 3.4.0; only for LOGFONT name */
|
||||
/* Since 4.0.0; only for LOGFONT name */
|
||||
char fontGetOrientFromName (const char* name)
|
||||
{
|
||||
int i;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* MGBidi
|
||||
* gen-arabic-shaping-tab.c - generate unicode-arabic-shaping-table.h
|
||||
*
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 3.4.0
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 4.0.0
|
||||
*
|
||||
* Authors of FriBidi:
|
||||
* Behdad Esfahbod, 2004, 2005
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* MGBidi
|
||||
* gen-bidi-type-tab.c - generate unicode-bidi-type-table.h
|
||||
*
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 3.4.0
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 4.0.0
|
||||
*
|
||||
* Authors of FriBidi:
|
||||
* Behdad Esfahbod, 2001, 2002, 2004
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* MGBidi
|
||||
* gen-brackets-tab.c - generate unicode-bidi-brackets-tables.h
|
||||
*
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 3.4.0
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 4.0.0
|
||||
*
|
||||
* Authors of FriBidi:
|
||||
* Behdad Esfahbod, 2001, 2002, 2004
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* MGBidi
|
||||
* gen-brackets-type-tab.c - generate unicode-bidi-brackets-type-table.h
|
||||
*
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 3.4.0
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 4.0.0
|
||||
*
|
||||
* Authors of FriBidi:
|
||||
* Behdad Esfahbod, 2001, 2002, 2004
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* MGBidi
|
||||
* gen-joining-type-tab.c - generate unicode-joining-type-table.h
|
||||
*
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 3.4.0
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 4.0.0
|
||||
*
|
||||
* Authors of FriBidi:
|
||||
* Behdad Esfahbod, 2004
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* MGBidi
|
||||
* gen-mirroring-tab.c - generate unicode-bidi-mirroring-table.h
|
||||
*
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 3.4.0
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 4.0.0
|
||||
*
|
||||
* Authors of FriBidi:
|
||||
* Behdad Esfahbod, 2001, 2002, 2004
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* MGBidi
|
||||
* gen-unicode-version.c - generate unicode-version.h
|
||||
*
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 3.4.0
|
||||
* Revised from FriBidi by Vincent Wei for MiniGUI 4.0.0
|
||||
*
|
||||
* Authors of FriBidi:
|
||||
* Behdad Esfahbod, 2001, 2002, 2004
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* gen-vop-tab.c - generate unicode-vop-table.inc
|
||||
*
|
||||
* Derived from utilities of FriBidi by Vincent Wei for MiniGUI 3.4.0
|
||||
* Derived from utilities of FriBidi by Vincent Wei for MiniGUI 4.0.0
|
||||
*
|
||||
* Authors of FriBidi:
|
||||
* Behdad Esfahbod, 2004, 2005
|
||||
|
||||
@@ -322,14 +322,14 @@ struct _FONTOPS
|
||||
* The method to get the glyph value according to the character value.
|
||||
* If it is NULL, the glyph value will be equal to the character value.
|
||||
*
|
||||
* Since 3.4.0.
|
||||
* Since 4.0.0.
|
||||
*/
|
||||
Glyph32 (*get_glyph_value) (LOGFONT* logfont, DEVFONT* devfont, Achar32 chv);
|
||||
|
||||
/**
|
||||
* The method to get the kerning delta values
|
||||
*
|
||||
* Since 3.4.0.
|
||||
* Since 4.0.0.
|
||||
*/
|
||||
void (*get_kerning) (LOGFONT* logfont, DEVFONT* devfont,
|
||||
Glyph32 prev, Glyph32 curr, int* delta_x, int* delta_y);
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h> /* fputs */
|
||||
#include <pthread.h> /* pthread_xxx */
|
||||
|
||||
/* the slice allocator is split up into 4 layers, roughly modelled after the slab
|
||||
* allocator and magazine extensions as outlined in:
|
||||
|
||||
@@ -1806,7 +1806,7 @@ int _gdi_draw_one_glyph (PDC pdc, Glyph32 glyph_value, BOOL direction,
|
||||
fg_gal_rc.w = bbox.w + italic;
|
||||
fg_gal_rc.h = bbox.h;
|
||||
|
||||
#if 0 // VincentWei: use FS_DECORATE_XXXX instead (3.4.0)
|
||||
#if 0 // VincentWei: use FS_DECORATE_XXXX instead (4.0.0)
|
||||
if ( pdc->bkmode != BM_TRANSPARENT
|
||||
|| logfont->style & FS_UNDERLINE_LINE
|
||||
|| logfont->style & FS_STRUCKOUT_LINE )
|
||||
@@ -1817,7 +1817,7 @@ int _gdi_draw_one_glyph (PDC pdc, Glyph32 glyph_value, BOOL direction,
|
||||
#endif
|
||||
need_rc_back = TRUE;
|
||||
|
||||
#if 0 // VincentWei: use FS_RENDER_MASK instead (3.4.0)
|
||||
#if 0 // VincentWei: use FS_RENDER_MASK instead (4.0.0)
|
||||
if (glyph_bmptype == DEVFONTGLYPHTYPE_MONOBMP) {
|
||||
if (logfont->style & FS_WEIGHT_BOOK_LIGHT) {
|
||||
fg_gal_rc.x--; fg_gal_rc.y--;
|
||||
@@ -1845,7 +1845,7 @@ int _gdi_draw_one_glyph (PDC pdc, Glyph32 glyph_value, BOOL direction,
|
||||
make_back_area(pdc, x+*adv_x, y+*adv_y, x, y,
|
||||
area, &bg_gal_rc, &flag);
|
||||
|
||||
#if 0 // VincentWei: use FS_RENDER_MASK instead (3.4.0)
|
||||
#if 0 // VincentWei: use FS_RENDER_MASK instead (4.0.0)
|
||||
if (glyph_bmptype == DEVFONTGLYPHTYPE_MONOBMP) {
|
||||
if (logfont->style & FS_WEIGHT_BOOK_LIGHT) {
|
||||
bg_gal_rc.x--; bg_gal_rc.y--;
|
||||
@@ -1912,7 +1912,7 @@ int _gdi_draw_one_glyph (PDC pdc, Glyph32 glyph_value, BOOL direction,
|
||||
bbx_size.cx = bbox.w;
|
||||
bbx_size.cy = bbox.h;
|
||||
|
||||
#if 0 // VincentWei: use FS_RENDER_MASK instead (3.4.0)
|
||||
#if 0 // VincentWei: use FS_RENDER_MASK instead (4.0.0)
|
||||
if (logfont->style & FS_WEIGHT_BOOK) {
|
||||
if(! get_book_bmp(pdc, glyph_value, &bbx_size, bold, italic))
|
||||
is_draw_glyph = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user