Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
È vs ╚
#7
(09-08-2025, 08:22 PM)TempodiBasic Wrote: I found some files that show the approach to the issue of localization of QB64 (at that time) and QB64pe (now)

accenti.bas  shows the issue

[Image: accenti.jpg]

ASCII for ita3.bas is a attempt to solve the issue following the tips of CLIPPY with _mapUnicode.

MapUnicode Italian.bas  is the final solution working both for screen output both for keyboard input


[Image: Map-Unicode-2016.png]



It is a fine walking back to the past!

PS I'm working on a Lubuntu machine so I must adapt the font name and path!

Ah! The air of home... it's a pleasure to hear from you again.

You understand well the frustration regarding the use of a font that makes not only the input and output beautiful and professional but also the correct syntax in our language.

Thank you for the time you've spent on my request. It's incredible... every time I'm surprised: one asks a question that might even be a bit naive, if we want, but then sees that the answers are much less so.

The MapUnicode_italian file is interesting, but I believe the library (falcon) is missing - at least that's what the compiler indicates.

It would also be interesting to explore a way - if it exists and perhaps, it seems to me, it is not possible - to retrieve a character from a set and insert it into the code to display it alongside those from the set in use.

(09-07-2025, 11:12 PM)SMcNeill Wrote: This is a simple process for you:

Code: (Select All)
Screen _NewImage(800, 600, 32)
f = _LoadFont("courbd.ttf", 64, "monospace")
_Font f

_MapUnicode 200 To 200
Print Chr$(200)
_Font 16
Sleep
System

Step 1: Load a font that has the character you need in it.
Step 2: Use _MapUnicode to map the unicode character to the ASCII character you want to replace.
Step 3: Use that ASCII code that you mapped to to print the character for you.

That's all it takes.  Wink
Thank you, Steve.

Indeed, as you suggested, the code works great. We just need to find a monospace character that looks nice and prints well (but that's a whole other story).
Reply


Messages In This Thread
È vs ╚ - by krovit - 09-07-2025, 10:50 PM
RE: È vs ╚ - by SMcNeill - 09-07-2025, 11:12 PM
RE: È vs ╚ - by TempodiBasic - 09-08-2025, 04:44 PM
RE: È vs ╚ - by TempodiBasic - 09-08-2025, 08:22 PM
RE: È vs ╚ - by krovit - 09-08-2025, 10:19 PM
RE: È vs ╚ - by Pete - 09-08-2025, 09:03 PM
RE: È vs ╚ - by krovit - 09-08-2025, 10:05 PM
RE: È vs ╚ - by TempodiBasic - 09-09-2025, 10:58 AM
RE: È vs ╚ - by Pete - 09-09-2025, 03:41 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)