Re: [Flightgear-devel] Re: GUI update almost completed

2005-07-08 Thread Andy Ross
Arnt Karlsen wrote:
> ..and utf-8 fonts?  Supports far more languages, including all those
> supported by ISO-8859-1.

Not supported by plib, unfortunately.  The whole plib font mechanism
is based on an 8 bit lookup table; it would require significant
surgery to fix.

I believe the .txf font file format also uses 8 bit glyph IDs.

Andy

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: GUI update almost completed

2005-07-08 Thread Arnt Karlsen
On Wed, 6 Jul 2005 14:14:48 +0200, Melchior wrote in message 
<[EMAIL PROTECTED]>:

> * Erik Hofman -- Wednesday 06 July 2005 13:35:
> > Is there a reference anywhere which built-in fonts are available?
> 
> freeglut/plib:
>   "FIXED_8x13",
>   "-misc-fixed-medium-r-normal--13-120-75-75-C-80-iso8859-1",
>   "FIXED_9x15",
>   "-misc-fixed-medium-r-normal--15-140-75-75-C-90-iso8859-1",
>   "HELVETICA_10",  
>   "-adobe-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1",
>   "HELVETICA_12",  
>   "-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1",
>   "HELVETICA_18",  
>   "-adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1",
>   "TIMES_10",  
>   "-adobe-times-medium-r-normal--10-100-75-75-p-54-iso8859-1",
>   "TIMES_24",  
>   "-adobe-times-medium-r-normal--24-240-75-75-p-124-iso8859-1"
> fgfs:
>   "HELVETICA_14",  
>   "-adobe-helvetica-medium-r-*-*-*-140-75-75-*-*-iso8859-1",
>   "VERA_13B",   "-*-bitstream vera
>   sans-bold-r-*-*-*-130-75-75-*-*-iso8859-1",

..and utf-8 fonts?  Supports far more languages, including all those
supported by ISO-8859-1.

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: GUI update almost completed

2005-07-06 Thread Erik Hofman

Melchior FRANZ wrote:

* Erik Hofman -- Wednesday 06 July 2005 13:35:


Is there a reference anywhere which built-in fonts are available?



Here's the source. The fonts are included here:

  $PLIB/src/fnt/fntBitmap.cxx

I'll add a similar file $FGFS/src/GUI/fonts.cxx for the fgfs-specific
fonts, if I get the OK.  :-)


It would be nice if you would add all available fonts to the README.gui 
document.


Erik

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: GUI update almost completed

2005-07-06 Thread Erik Hofman

Melchior FRANZ wrote:

* Erik Hofman -- Wednesday 06 July 2005 10:46:


Nice, just what I had in mind (except maybe for a different color scheme 
>:-) )


You'll be able to submit your creation in the big "Default Style Contests",
and maybe win the first prize: a Cheapo[TM] coffee machine!


Ah, a hammer and a blowtorch.


Hey, I'm just playing around with this stuff. This was to show white fonts
on black, something that didn't work with the "old" texture fonts, and does
still not work well with plib's built-in pixmap fonts, which are too thin.
That's why I compiled two "fgfs" fonts in binary form. The first[1] is still
thin but a little bigger than what plib offers, and the second[2] is bold
enough for dark backgrounds. Could possibly be made a bit smaller (12 pt?).


Is there a reference anywhere which built-in fonts are available?
BTW. I prefer 1px fonts myself:

...  .. . ..  ..   .. ..

Erik

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d