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


[Flightgear-devel] Re: GUI update almost completed

2005-07-06 Thread Melchior FRANZ
* Erik Hofman -- Wednesday 06 July 2005 10:46:
 Melchior FRANZ wrote:
http://members.aon.at/mfranz/fgfs_gui6.jpg  [265 kB]

 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!

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?).

I thought first that we should keep the old style by default, and only make
new ones optional. But maybe it's time for a change for v1.0.0? The light
blue is really only suited for boys. We'd need a pink one anyway.  ;-)

m.



[1] HELVETICA_14  -adobe-helvetica-medium-r-*-*-*-140-75-75-*-*-iso8859-1
[2] VERA_13B  -*-bitstream vera sans-bold-r-*-*-*-130-75-75-*-*-iso8859-1

___
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


[Flightgear-devel] Re: GUI update almost completed

2005-07-06 Thread Melchior FRANZ
* 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,


The first group is already part of plib, so it doesn't use up more space. That's
why I make the TIMES_ROMAN_24 font available, too, although it doesn't make that
much sense. The second group are the fgfs specific fonts. They use some space, 
but
have the benefit that they include all the fancy accented letters from iso8859. 
This
should be good enough for 90% of all languages. (The plib fonts do only contain 
ASCII.)



 BTW. I prefer 1px fonts myself:
 
 ...  .. . ..  ..   .. ..

Hey, I have a Morse font for you! But currently, this is the smallest you can 
get:

   http://members.aon.at/mfranz/fgfs_gui7.jpg  [19 kB]

m.

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


[Flightgear-devel] Re: GUI update almost completed

2005-07-06 Thread Melchior FRANZ
* 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.  :-)

m.

___
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