mirror of
https://github.com/reactos/wine.git
synced 2025-02-17 19:39:00 +00:00
gdi32: Don't remove leading '@' from face name.
This commit is contained in:
parent
bf8a100639
commit
b5446ddb45
@ -3940,14 +3940,6 @@ static HFONT freetype_SelectFont( PHYSDEV dev, HFONT hfont )
|
||||
CHILD_FONT *font_link_entry;
|
||||
LPWSTR FaceName = lf.lfFaceName;
|
||||
|
||||
/*
|
||||
* Check for a leading '@' this signals that the font is being
|
||||
* requested in tategaki mode (vertical writing substitution) but
|
||||
* does not affect the fontface that is to be selected.
|
||||
*/
|
||||
if (lf.lfFaceName[0]=='@')
|
||||
FaceName = &lf.lfFaceName[1];
|
||||
|
||||
psub = get_font_subst(&font_subst_list, FaceName, lf.lfCharSet);
|
||||
|
||||
if(psub) {
|
||||
|
@ -4126,7 +4126,6 @@ static void test_vertical_font(void)
|
||||
|
||||
check_vertical_font("@WineTestVertical", &installed, &selected, &gm);
|
||||
ok(installed, "@WineTestVertical is not installed\n");
|
||||
todo_wine
|
||||
ok(selected, "@WineTestVertical is not selected\n");
|
||||
todo_wine
|
||||
ok(gm.gmBlackBoxX > gm.gmBlackBoxY,
|
||||
|
Loading…
x
Reference in New Issue
Block a user