Menu

#337 SetFont doesn't work well with RTL on W

closed-fixed
5
2005-03-17
2005-03-09
Anonymous
No

IMPORTANT NOTES:
** This bug is regarding RTL languages
** This bug occurs on Windows 98 (and possibly
Window Me).
** This bug DOES NOT occur on Windows 2000 and
Windows XP.
** This bug DOES NOT occur if I ignore "SetFont"
attribute.

When I use the "SetFont" attribute and set it to ANY
font other than "MS Shell Dlg", all symbols (like "."
or "," or ">") will appear either in a wrong shape or in a
wrong place.

For example, in the "Next" button (remember that we
are talking about RTL not LTR) the wrong ">" character
is used instead of correct "<" character.
Another example, the punctuation marks (that indicating
the end of a sentence) do not appear in the end of the
sentence. they appear in the beginning of a the
sentences instead.

NOTES:
*** when I set the font at runtime (using WM_SETFONT
during the GUI initialization), the problem disappear and
I can choose whatever font without any problem. I use
that approach, but it is really a time consuming.
*** Using "ResHaker" program I have noticed that when I
did set the font, the dialog template used was NOT
EXTENDED. where as when I DID NOT set the font, the
dialog used was EXTENDED.

Discussion

  • Amir Szekely

    Amir Szekely - 2005-03-10
    • status: open --> closed
     
  • Amir Szekely

    Amir Szekely - 2005-03-10
    • assigned_to: nobody --> kichik
    • summary: Font bug when using an RTL language --> SetFont doesn't work well with RTL on W
    • status: closed --> closed-fixed
     
  • Amir Szekely

    Amir Szekely - 2005-03-10

    Logged In: YES
    user_id=584402

    Thanks, fixed. DialogTemplate::SetFont removed the extended
    dialog flag.

     
  • Nobody/Anonymous

    Logged In: NO

    BAD NEWS

    I downloaded the latest snapshot (which include the fixes
    above) and gues what Mr. kichik:
    Now the **ALL** user interface (wizard pages) display an
    **UNKNOWN** symbols. I'm sorry that didn't work out.

    And remember, this is a Win 9x bug only. Every thing seems
    to be fine on XP an 2000.

     
  • Amir Szekely

    Amir Szekely - 2005-03-17
    • labels: --> User-Interface
     
  • Amir Szekely

    Amir Szekely - 2005-03-17

    Logged In: YES
    user_id=584402

    Works fine for me on 98, ME and XP. Please attach an example
    that reproduces this problem.

     
  • Nobody/Anonymous

    Logged In: NO

    I opened a new post called "SetFont Bug" so I can upload
    some files

     

Log in to post a comment.