Classic Mac OS Software (Discussions on Applications) > Business Software & Application Suites

Remake of OSX's Dictionary

(1/9) > >>

OS923:
I can read OSX dictionaries into a REALbasic program. This works fine on Windows, but on OS 9 the weird pronunciation characters are replaced with question marks.

Then I read this:

--- Quote ---Because OS 9 can't draw Unicode directly; we have to convert to the encoding associated with the font you're using. But our code that does this conversion is clever enough to short-cut the process when your string contains only ASCII characters, and you're converting from one ASCII superset to another (e.g., UTF-8 to MacRoman). That's why it's faster when there are no non-ASCII characters in your string.
--- End quote ---
Do I have to install a special Unicode font and script?

OS923:
I made a test page with all different Unicode characters which are used in the American dictionary.
Then I tried the code2000 font on Windows.
Some characters were missing.

I didn't find such a font for OS 9.

Is it possible to convert OSX fonts to OS 9 fonts?

MacTron:

--- Quote from: OS923 on April 25, 2016, 07:31:34 AM ---Is it possible to convert OSX fonts to OS 9 fonts?

--- End quote ---
If the fonts are in truetype format, then it can work on Mac Os 9. But you'll need a converter, probably.

BTW: Long time ago I had worked in a little project that use unicode text. I have used the WASTE text engine to deal with UTF8 and UTF16 encodings.
ATSUI and WorldScript II can be used also.

OS923:
I'm going to try the Google Noto fonts.

OS923:
REALbasic 5.5.5 has unicode support, but some characters are drawn as 2 characters, like a letter followed by an accent.

I had 2 possible solutions:

* draw the special characters as pictures.
* make a temporary HTML file and open it in the browser.I consider doing them both.

Navigation

[0] Message Index

[#] Next page

Go to full version