Drawing Italic text in Canvas works in Window not in MacOS

I think Tim Hare answered it. It’s issues are about Linux & MacOS relation to Linux on Fonts. I don’t italicize staff music notes but I do with sharps flats symbols with letters and intervals for labeling. Most musician I know use Mac.I just needed a music font set that has letters & numbers in it. This one has it and it works for me.

Thanks for explanation, Jeffrey. Which program do you use and can you provide the download link of the Kodaly free font? I can’t find the correct one.

HI Thomas- It been more than a decade of were I found this. I can’t find the original link. Here is another link to download it. It’s also called Bach Font. by Yo Tomita Bach Font | FontPark.com

I got the Kodaly Italic Font that I created from my Windows Font Creator Pro App to work. Here is a link that tells you how to do it. It requires another free Font App called Type Light that is explained in the link. FIXING FONTS WITH VALIDATION ERRORS ON MAC – Jeff

Thanks for all you Input & Help

Wikipedia have an entry about Italic; a nice to read one:

Italic

It also (certainly) exist for other style(s), Bold comes to mind.

To be complete, one have to remember the old times and nunderstand why “Styles” were added (instead of Font families, excepted for Postscript files): memory constraint, simplicity.

Now, many software were not updated, so new comers (and those who did not know) fall into that trap.

If you check with TextEdit, you will see what Font family have all styles (many styles in a single family)…

Last time I checked, Xojo do not had (for standard Graphics, I do not talk about PDF Document) that Font Family concept (all fonts are displayed regardless of the Family Name).

So, whet you read the documentation for Graphics.Italic you get (nothing, you have to search for Graphics, then Italic):

1980 kind of programming…

TextEdit (MacOS) Font window screen shot:

So to print a sentence in Italic, one have to use:


g.FontName = "Menlo-Italic"
 g.DrawText("Hello world using Menlo-Italic", 10, 10)

and completely forget Bold or Italic or … styles; use the Font Name…

Doh ! I see Outline; is it still working on MacOS ?

1 Like