Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64 Phoenix Edition v3.12.0 Released!
#32
Greetings from Finland! :-)

I am also reporting a problem with displaying the text in the latest version!

I Hope this image and code clarify the matter:


[Image: Qb64pe-3-11-to-3-12.jpg]

SCREEN 12

CP1252 "lucon", 14

COLOR 9
LOCATE 5, 5: PRINT "This is an example text!"

COLOR 4
LOCATE 5, 50: PRINT "This is an example text!"


SUB CP1252 (Font$, FontSize)
    _FONT _LOADFONT("C:\Windows\Fonts\" + Font$ + ".ttf", FontSize, "MONOSPACE")
    RESTORE Microsoft_windows_cp1252
    FOR ASCIIcode = 128 TO 255
        READ UNIcode
        _MAPUNICODE UNIcode TO ASCIIcode
    NEXT ASCIIcode
    Microsoft_windows_cp1252: 'Windows Western languages with Latin alphabet
    DATA 8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0
    DATA 0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376
    DATA 160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175
    DATA 176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191
    DATA 192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207
    DATA 208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223
    DATA 224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239
    DATA 240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255
END SUB


Without "SCREEN 12", the text is displayed normally. 

Although v.3.12 is a bit unclear all the time.
Reply


Messages In This Thread
RE: QB64 Phoenix Edition v3.12.0 Released! - by MaSaCoder - 03-03-2024, 01:30 PM



Users browsing this thread: 7 Guest(s)