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 7: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: 1808
Joined: Thu Mar 19, 2015 10:01 am
Version: next

Re: Missing Font led.ttf

Postby dhudach » Wed Apr 24, 2019 8: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
Flight Instruction Elevator Control: pull back = houses get smaller, push forward = houses get bigger.
dhudach
 
Posts: 118
Joined: Tue Apr 14, 2015 12:46 am

Previous

Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests