Board index FlightGear Support Installation

Missing Font led.ttf

Need help getting up and running? Installing FlightGear, add-on planes, sceneries etc.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?

Please, also see Requesting Technical Help.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

Re: Missing Font led.ttf

Postby bugman » Wed Apr 24, 2019 6:49 pm

The original code was:

Code: Select all
void
FGTextLayer::setFontName(const string &name)
{
  _font_name = name + ".txf";
}


Can you change the new code from "ttf" to "txf"? I just want to see if the font still works as is. If so, the font finding code can simply be modified to search for "ttf" first, and then "txf" second. Note that the led.txf font was introduced by Curt in 2002. This should still work.

Regards,
Edward
bugman
Moderator
 
Posts: 1718
Joined: Thu Mar 19, 2015 9:01 am
Version: next

Re: Missing Font led.ttf

Postby dhudach » Wed Apr 24, 2019 7:04 pm

Ok, give me some time. I thought of doing something like that but it wasn't critical enough for what I'm doing to do that. But give me a bit of time and I'll make the change.

Thanks,
Dave
dhudach
 
Posts: 75
Joined: Mon Apr 13, 2015 11:46 pm

Previous

Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest