var font_mapper = func(family, weight)
{
if(family == "'Liberation Sans'" and weight == "normal") {
return "Aircraft/do328/Models/osifont-gpl2fe.ttf";
}
};
canvas::Text: No such font: Aircraft/do328/Models/osifont-gpl2fe.ttf
erik wrote in Mon Nov 28, 2016 9:20 am:I'm almost certain I got that working at one day, before the font was moved tot FGData.
You might want to experiment with the path (omitting it entirely or removing Aircraft/do328)
Erik
sanhozay wrote in Mon Nov 28, 2016 9:25 am:Long shot: it's not the old 1 vs l misspelling bug is it?
$ ls Aircraft/do328/osifont-gpl2fe.ttf
Aircraft/do328/osifont-gpl2fe.ttf
xcvb wrote in Mon Nov 28, 2016 8:42 pm:Do you know on which aircraft? If it was on git or svn maybe it is possible to recover an old version. I also placed it to "Aircraft/do328/osifont-gpl2fe.ttf" and also tried it with and without "Aircraft/do328/" but still no success.
TheTom wrote in Sun Dec 11, 2016 7:50 pm:It should be possible to put the font in a 'Fonts' subdirectory of the aircraft and then just use the font's filename.
Users browsing this forum: No registered users and 2 guests