Quantcast
Viewing all articles
Browse latest Browse all 40524

Text on 0.9.0 release

At first, the original app I wrote 2 or 3 years ago just read a file from which it extracted the text to be displayed using a ofTrueTypeFont instance. It worked with no problems at showing special characters, line the tildes and Ñ, both on windows and mac, with exactly the same code. Now, last week I had to do a minor change to that app (simply changing a parameter) and recompile for windows. Once done, the tildes and Ñ showed no more both on windows and mac. The weird thing is that I fixed it for mac, just searching for the incorrect characters I was getting and replacing by the correct ones. Then once compiled on Windows, the incorrect characters I was getting were different to the ones I got on osx, so I had to do once again this same dirty fix of find and replace.
Something like:
original character: á
on mac was shown as 0xF3 // I really dont remmenber the exact code
on win 0xd323 // I also dont remember but it had two bytes.

Is it clear enough?
best


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>