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

Remake of OSX's Dictionary

<< < (9/9)

I'm rewriting the program to make it work with all XML dictionaries in the same file format.
I do some optimization like I replace

--- Code: ---"<o:x>" with "<x>", "<italic> with "<i>", "<x> " with " <x>", " )" with ") "
--- End code ---
and so on.
I also found 6 XML syntax errors and 3 4-byte UTF characters.
You can do this conversion, but I recommend that you leave that up to me.

Where can I find those dictionaries?

I parted from the idea of stuffing everything in one binary file. Now I do like the original program: there are 2 XML files and an index for each XML file. The program rebuilds the indexes if they are deleted (unlike the original program). It works 40 times faster than my previous program. It uses 11 times less memory. It displays the dictionary entries in the first column and the thesaurus entries in the second column. Novotny and Uskudar are still displayed incorrectly.

Here's the preview of the new version. I find that it looks better than the previous version. It displays tables and lists. If you copy the pictures to the Output folder, then it should also display the pictures. It uses style sheets that you may change. The conversion from XML to HTML is open source.


--- Quote from: IIO on January 13, 2020, 12:10:46 PM ---that is what i was wondering: is that the only word with the character ?

and why would be broken in a regular truetype in OS9 but not in OSX?

--- End quote ---
Because that character is not included in the MacRoman (8-bit) encoding, unlike most other accented latin letters. As a consequence there is no way to map its code to a glyph in traditional (OS 9 and below) TrueType. OSX uses Unicode to map to glyphs so it has no difficulty.
'cmap' subtable type 1 (ScriptManager) format 0 (8-bit codes) was used for most OS 9 fonts.

It's also not possible to type it using the normal keyboard layout, even in OSX: you need to use an "Extended" key layout.


[0] Message Index

[*] Previous page

Go to full version