Robert Osfield
02266d0af3
Converted osg::notify to OSG_INFO etc.
2010-05-28 17:14:58 +00:00
Robert Osfield
8f6db66e59
Added setting of the charcode during construction of osgText::Font::Glyph()
2010-01-14 15:15:42 +00:00
Robert Osfield
ce5388a8bc
Convert osgText and freetype plugin across to keeping the font size as state that
...
is passed into the getGlyph and getKerning methods rather than a current state of the font itself.
2007-12-23 18:15:54 +00:00
Robert Osfield
f290b75bc9
Moved Font code across to using FontSizePair internally and on Font methods, but
...
still using original implemetations.
2007-12-23 13:45:37 +00:00
Robert Osfield
6bf7fec64e
From Olaf, "there are more dubious calls to istream::readsome instead of
...
istream::read. IMHO it does make no sense here and potentially breaks
this plugin."
2007-05-24 09:49:22 +00:00
Robert Osfield
94b3a63e0c
From Olaf Flebbe, "FlightGear/OSG on Windows did not load the Texture Fonts.
...
1) TXF Fonts are binary.
2) Do not rely on the result of istream::readsome if buffer _is_ empty
and no data have been read before."
2007-05-21 08:01:45 +00:00
Robert Osfield
dadb92ea64
Reorganised the managment of margins around glyphs so that is done entirely
...
with src/osgText/Font.cpp rather than the font plugins or Text.cpp
2007-05-04 12:05:29 +00:00
Robert Osfield
24bc488205
From Mathias Fröhlich, "Attached is a small change that makes the txf loader render the same resulting
...
text than an other well known txf loader. That means drawing them one on top
of the other I can only see differences due to different mipmapping ...
That is it introduces an additional gap of 0.1*height between the glyphs.
There is an additional mapping between upper and lowercase characters if one
of them is not available in the txf file.
And we have an artificial blank character that is very often missing in txf
files."
2007-01-22 09:28:31 +00:00
Robert Osfield
b9f629f0cb
From Mathias Fröhlich, txf plugin for reading .txf textured texture files.
2007-01-08 12:04:04 +00:00