change version to 5.0.12; cleanup

This commit is contained in:
Vincent Wei
2023-04-23 12:42:47 +08:00
parent 800329086e
commit 9696fbb3ba
5 changed files with 18 additions and 7 deletions

View File

@@ -28,6 +28,21 @@
+ [Changes leading to incompatibility](#changes-leading-to-incompatibility)
+ [Deprecated APIs](#deprecated-apis)
## Version 5.0.12
On Apr. 30, 2023, FMSoft announces the availability of MiniGUI 5.0.12,
which is an enhancement release with some minor enhancements
of MiniGUI 5.0.x.
### What's new in version 5.0.12
In this version, we made some enhancements:
* ENHANCEMENTS:
- Add new API `GetACharsExtentPointEx()`.
- Enhance two APIs `GetTextExtentPoint()` and `GetTabbedTextExtentPoint()`
to support BIDI charsets.
## Version 5.0.11
On Dec. 31, 2022, FMSoft announces the availability of MiniGUI 5.0.11,

View File

@@ -1,4 +1,4 @@
Version 5.0.11 (2022/12/31)
Version 5.0.12 (2023/04/30)
This is a minor enhancement and bugfix release of MiniGUI 5.0.x, the stable version.

View File

@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.60)
AC_INIT(libminigui, 5.0.11)
AC_INIT(libminigui, 5.0.12)
AC_CONFIG_SRCDIR(src/main/main.c)
dnl Set various version strings - taken gratefully from the SDL sources

View File

@@ -12541,8 +12541,6 @@ typedef struct _ACHARMAPINFO {
int char_len;
/** The direction of the character; TRUE for RTL, FALSE for LTR. */
BOOL is_rtol;
/** The BIDI type */
BidiType type;
} ACHARMAPINFO;
/**

View File

@@ -735,10 +735,8 @@ Achar32* __mg_legacy_bidi_map_reorder (const CHARSETOPS* charset_ops,
run_pos = node_p->pos;
run_len = node_p->len;
for (i=0; i<run_len; i++)
{
for (i=0; i<run_len; i++) {
(map+run_pos+i)->is_rtol = (node_p)->level & 1;
(map+run_pos+i)->type = (node_p)->type;
}
}