Check font bold and italic

Hi,

how can I check the font style (bold and italic)?

Where ?

you can also add the used OS platform and version and Xojo version.

However, this is explained in the documentation.

And where in the document? Not all fonts supported italic and bold. I will in app only show font that supported italic and bold.

I thought your question was to read out styled text which is indeed in the documentation. Listing bold and italic fonts is a different problem. I’m sure that there are declares around or functions in the MBS plugin.

Some search in the forum gave me this solution: Fonts mit Bold und Italic listen

Have-you tried to read the Font Name ?

On the other hand:

Check MacOSLib if you are on MacOS
Check the examples (Cmd-N | Alt-N and click on Examples)

You can download the Examples as zip, then once expanded, search (either manually or by the OS) about Font. You know what to do after that.

At last, I saw on my HD example(s) shared in this Forum.

Asking for your target OX / Xojo Versions is a minimum to avoid large explanation | usially when we understand how to do on the main OS target, it is easier to do for the other(s) eventual targets. AND allows you to get a personalized answer.

I used Firefox built-in “translate” feature to read from German text in French (but it’s a bit hard, the translation have to be… interpreted…).

I hope this is clear.

PS: in the old time, bitmap font were shared in a single file and the OSes creates the styles on the fly.
Then comes the TrueType fonts - Vectorial Fonts -(joinly created by Apple and Microsoft), and the Fonts get a Style, so the Font Names as:
Helvetica
Helvetica.Bold
Helvetica.Italic

and so on, following what was done with the PostScripts Fonts (they were Vectorial Fonts)

More can be found @ WikipediA.
Read the English page for the “full” information about TrueTyle.

I Hope This Help.

Here’s a screenshot of my macOS Fonts folder:

I selected some Fonts with styles in their name - that information exist too inside the file - as usual for many other files like PK, RAR, PNG or .sqlite ( File Signature) set at the file beginning in these cases).