This commit is contained in:
WEI Yongming
2019-04-12 09:23:51 +08:00
parent 54577e9dd2
commit 2caa09e185
3 changed files with 17 additions and 16 deletions
+4 -2
View File
@@ -78,7 +78,7 @@ as a free software project.
You can download the source code tarball of MiniGUI and the dependent libraries
from the download zone of the site:
http://www.minigui.com
http://www.minigui.com
FMSoft also releases some open source apps for MiniGUI on the site above,
for examples:
@@ -342,7 +342,9 @@ A brief history description of the development progress lay below:
The original author of MiniGUI is WEI Yongming, and now MiniGUI is
maintained by FMSoft. For more information, please browse
our home page: http://www.fmsoft.cn.
our home page:
http://www.fmsoft.cn.
## IF YOU HAVE A PROBLEM
+10 -11
View File
@@ -276,6 +276,10 @@ if you want to get the height and descent data of one font.
* More fields added for GLYPHBITMAP structure in order to return the completed
rasterized glyph bitmap information.
* A new BITMAP type: `BMP_TYPE_REPLACEKEY`. When `bmType` of a BITMAP object
has this bit set, any pixel which is equal to `bmColorKey` will be replaced by
`bmColorRep`.
* `GetGlyphInfo` now can return the basic glyph type and break type of a
UNICODE character. If the glyph is an ASCII character, the old `MCHAR_TYPE`
can also be returned.
@@ -288,17 +292,7 @@ avoid the conflict with typedef of UChar32 in 'unicode/umachine.h'.
* Redefine `Uchar32` and `Glyph32` as `Uint32` instead of `int`.
* Support for FreeType1 removed.
You should always use FreeType2 to support vector fonts, such as TrueType
fonts (TTF), TrueType collections (TTC), OpenType fonts (OTF, both TrueType
and CFF variants), OpenType collections (OTC), and Type 1 fonts (PFA and PFB).
* A new BITMAP type: `BMP_TYPE_REPLACEKEY`. When `bmType` of a BITMAP object
has this bit set, any pixel which is equal to `bmColorKey` will be replaced by
`bmColorRep`.
#### Deprecated APIs
#### Deprecated APIs or Features
The following old APIs are deprecated, you should use the Unicode version
APIs instead:
@@ -310,6 +304,11 @@ APIs instead:
* BIDILogAChars2VisAChars
* BIDIGetLogicalEmbedLevelsEx
Support for FreeType1 was removed.
You should always use FreeType2 to support vector fonts, such as TrueType
fonts (TTF), TrueType collections (TTC), OpenType fonts (OTF, both TrueType
and CFF variants), OpenType collections (OTC), and Type 1 fonts (PFA and PFB).
## Version 3.2.1
The MiniGUI development team announces the availability of MiniGUI 3.2.1.
+3 -3
View File
@@ -6853,7 +6853,7 @@ typedef struct _FONTMETRICS {
* \param font_metrics The buffer receives the metrics information.
* \return None.
*
* \sa GetGlyphBitmap, FONTMETRICS
* \sa GetGlyphInfo, FONTMETRICS
*/
MG_EXPORT void GUIAPI GetFontMetrics (LOGFONT* log_font,
FONTMETRICS* font_metrics);
@@ -12046,9 +12046,9 @@ MG_EXPORT int GUIAPI GetGlyphsExtentPoint (HDC hdc, Glyph32* glyphs,
/** The type of glyph bitmap: grey (4-bit) */
#define GLYPHBMP_TYPE_GREY4b 0x02
/** The type of glyph bitmap: subpixel */
#define GLYPHBMP_TYPE_SUBPIXEL 0x02
#define GLYPHBMP_TYPE_SUBPIXEL 0x03
/** The type of glyph bitmap: pre-rendered BITMAP object */
#define GLYPHBMP_TYPE_PRERENDER 0x03
#define GLYPHBMP_TYPE_PRERENDER 0x04
/**
* \var typedef struct _GLYPHINFO GLYPHINFO