Using both Private and Assembly Fonts

Hi,

I have a project in which I specify an assembly font as well as several private fonts.
However, I’ve encountered an issue: it appears that FontsBaseDirectory and FontsBaseResourceLocation cannot be set simultaneously.
Whichever one is set last seems to be the one that’s used for font inference.

Here is a simple example demonstrating that behaviour: GitHub - sengelps/gemboxfonts

Is there a possibility to use both private and assembly fonts in one Gembox.Document project?

Regards,
Simon

Hi Simon,

Unfortunately, this is currently not supported, you can use either custom or embedded fonts, but not both.

So, as a workaround for now, you could extract the font files from the assembly into the folder where your other fonts are, and thus provide all of them as custom fonts.

I hope this works for you.

Regards,
Mario

Hi Mario,

good to know. Thanks.

Regards,
Simon