Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to get fonts to load in charts on Linux?
Answer: Please use the SetFontSearchPath method in the CDBaseChartMBS class to specify where your fonts are.
Example:
if TargetLinux then
CDBaseChartMBS.SetFontSearchPath "/usr/share/fonts/truetype"
else
// on Mac and Windows we use system fonts.
end if
Notes:
On Mac OS X and Windows, the fonts are loaded from the system's font folder.

e.g. if you use ubuntu, you can install the ttf-mscorefonts-installer package and call this method with "/usr/share/fonts/truetype/msttcorefonts" as the path. No backslash on the end of a path, please.

Feedback, Comments & Corrections




Links
MBS Xojo Chart Plugins