Hello,
I am using the German version of Windows 10 x64, latest patches.
Here is what I get when settings are at size 9 and size 12.
--------------------
Size 9
--------------------
--------------------
Size 12
--------------------
TSE font properties:
Name Courier New
Size 12
Flags 0
Width 10
Height 18
Newly created font properties:
Name Fixedsys
GetTextMetrics properties:
tmHeight=15
tmAscent=12
tmDescent=3
tmInternalLeading=3
tmExternalLeading=0
tmAveCharWidth=8
tmMaxCharWidth=8
tmWeight=400
tmOverhang=0
tmDigitizedAspectX=96
tmDigitizedAspectY=96
tmFirstChar=32
tmLastChar=255
tmDefaultChar=128
tmBreakChar=32
tmItalic=0
tmUnderLined=0
tmStruckOut=0
tmPitchAndFamily=48
tmCharSet=0
I hope this is of any use to you.
--
Regards
Eckhard Hillmann
Ihre Nachricht vom Mittwoch, 15. Juni 2022 04:26:
SEM> A user in China is having a font issue.
SEM> He can set the Fixedsys font by using the SetFont menu.
SEM> However, if he uses SetFont("Fixedsys", 9, 0) (and many
SEM> variations), the font is set to Arial or Courier New, but
SEM> not to Fixedsys.
SEM> I'm trying to figure out why he can't set Fixedsys with
SEM> SetFont("Fixedsys", ...).
SEM> Carlo Hogeveen wrote a neat macro that I've hacked up to
SEM> explore this problem.
SEM> If you have a non-English version of Windows, can you:
SEM> * Set your font to Courier New
SEM> * Run the attached macro
SEM> * Reply to this message with the resulting output
SEM> (Note that this macro does not change your TSE font)
SEM> For instance, if I run it, I get:
SEM> TSE font properties:
SEM> Name Courier New
SEM> Size 9
SEM> Flags 0
SEM> Width 7
SEM> Height 15
SEM> Newly created font properties:
SEM> Name Fixedsys
SEM> GetTextMetrics properties:
SEM> tmHeight=15
SEM> tmAscent=12
SEM> tmDescent=3
SEM> tmInternalLeading=3
SEM> tmExternalLeading=0
SEM> tmAveCharWidth=8
SEM> tmMaxCharWidth=8
SEM> tmWeight=400
SEM> tmOverhang=0
SEM> tmDigitizedAspectX=96
SEM> tmDigitizedAspectY=96
SEM> tmFirstChar=32
SEM> tmLastChar=255
SEM> tmDefaultChar=128
SEM> tmBreakChar=32
SEM> tmItalic=0
SEM> tmUnderLined=0
SEM> tmStruckOut=0
SEM> tmPitchAndFamily=48
SEM> tmCharSet=0
SEM> However, the user gets:
SEM> TSE font properties:
SEM> Name Courier New
SEM> Size 10
SEM> Flags 0
SEM> Width 8
SEM> Height 16
SEM> Newly created font properties:
SEM> Name Arial
SEM> GetTextMetrics properties:
SEM> tmHeight=12
SEM> tmAscent=9
SEM> tmDescent=3
SEM> tmInternalLeading=3
SEM> tmExternalLeading=0
SEM> tmAveCharWidth=7
SEM> tmMaxCharWidth=40
SEM> tmWeight=400
SEM> tmOverhang=0
SEM> tmDigitizedAspectX=96
SEM> tmDigitizedAspectY=96
SEM> tmFirstChar=30
SEM> tmLastChar=255
SEM> tmDefaultChar=31
SEM> tmBreakChar=32
SEM> tmItalic=0
SEM> tmUnderLined=0
SEM> tmStruckOut=0
SEM> tmPitchAndFamily=39
SEM> tmCharSet=0
SEM> --
SEM> Sammy Mitchell