This commit is contained in:
Vincent Wei
2019-01-18 11:29:35 +08:00
parent ae9b14201b
commit 1e1a5edd13
3 changed files with 1200 additions and 1184 deletions
+1195 -1178
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1036,10 +1036,10 @@ Glyph32* GUIAPI BIDILogGlyphs2VisGlyphs(
GLYPHMAPINFO* glyphs_map)
{
DEVFONT* mbc_devfont = log_font->mbc_devfont;
if (mbc_devfont && mbc_devfont->charset_ops->bidi_glyph_type) {
/* get the visual glyphs map from the logical glyphs map. */
if(glyphs_map){
if (glyphs_map) {
__mg_charset_bidi_map_reorder (mbc_devfont->charset_ops,
glyphs, nr_glyphs, glyphs_map);
}
+3 -4
View File
@@ -68,10 +68,9 @@ int GUIAPI GetGlyphsByRules(LOGFONT* logfont, const char* mstr, int mstr_len,
int GUIAPI GetGlyphsExtentPointEx (LOGFONT* logfont, int x, int y,
const Glyph32* glyphs, int nr_glyphs,
DWORD break_flags, int letter_spacing, int word_spacing,
WhiteSpaceRule white_space, int tab_size,
int max_extent,
LINEEXTINFO* line_ext_info, GLYPHEXTINFO* glyph_ext_info, POINT* pts)
Uint32 reander_flags, WhiteSpaceRule ws_rule,
int letter_spacing, int word_spacing, int tab_size, int max_extent,
SIZE* line_size, GLYPHEXTINFO* glyph_ext_info, POINT* pts)
{
return 0;
}