I found this problem:
1. Code that works
GRAPHIC COLOR %YELLOW, -2
FONT NEW "Times New Roman", 40, 1, 1, 0, 300 TO hFont300
GRAPHIC SET FONT hFont300
GRAPHIC SET POS (tx, ty)
GRAPHIC PRINT sEntryText
2. Using variable as fontname will no longer rotate the text
ftname = "Times New Roman"
FONT NEW ftname , 40, 1, 1, 0, 300 TO hFont300
GRAPHIC SET FONT hFont300
GRAPHIC SET POS (tx, ty)
GRAPHIC PRINT sEntryText
Is this a bug? Any workaround?
Thanks,
Peter Redei
1. Code that works
GRAPHIC COLOR %YELLOW, -2
FONT NEW "Times New Roman", 40, 1, 1, 0, 300 TO hFont300
GRAPHIC SET FONT hFont300
GRAPHIC SET POS (tx, ty)
GRAPHIC PRINT sEntryText
2. Using variable as fontname will no longer rotate the text
ftname = "Times New Roman"
FONT NEW ftname , 40, 1, 1, 0, 300 TO hFont300
GRAPHIC SET FONT hFont300
GRAPHIC SET POS (tx, ty)
GRAPHIC PRINT sEntryText
Is this a bug? Any workaround?
Thanks,
Peter Redei
Comment