Re: [osg-users] Big fonts in current SVN

2007-12-18 Thread David Callu
Hi All, After a long search in OSG SVN revision, I found this is a fonts file issue. I downdate my SVN and rebuild OSG for the revision 7648, just before integration of Text3D 7500, 7300, 7000, 6900, 6500, ~ here begin dependancy with external OpenThreads 6400, ~ here begin dependancy with

Re: [osg-users] Big fonts in current SVN

2007-12-18 Thread Paul Martz
, December 18, 2007 8:38 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Big fonts in current SVN Hi All, After a long search in OSG SVN revision, I found this is a fonts file issue. I downdate my SVN and rebuild OSG for the revision 7648, just before integration of Text3D 7500, 7300

Re: [osg-users] Big fonts in current SVN

2007-12-18 Thread Jeremy Moles
On Fri, 2007-12-14 at 20:23 +, Robert Osfield wrote: Hi Jeremy, The alignment problem is a known problem that David (the author of the recent changes to osgText) knows about and will be looking into. Should this be fixed in 2.3? If so, I'm still seeing it in SVN. Just wondering if it's

Re: [osg-users] Big fonts in current SVN

2007-12-18 Thread David Callu
Hi Jeremy I submit patch to Robert. So coming soon If all work fine. David David 2007/12/18, Jeremy Moles [EMAIL PROTECTED]: On Fri, 2007-12-14 at 20:23 +, Robert Osfield wrote: Hi Jeremy, The alignment problem is a known problem that David (the author of the recent changes to

Re: [osg-users] Big fonts in current SVN

2007-12-17 Thread Robert Osfield
Hi Paul, On Dec 16, 2007 7:53 PM, Paul Martz [EMAIL PROTECTED] wrote: Thanks, Robert -- Unfortunately, this change had no effect. Maybe another avenue of attack might be to add DEBUG_INFO messages to osgText to display components that contribute to the final size of SCREEN-aligned glyphs?

Re: [osg-users] Big fonts in current SVN

2007-12-16 Thread Robert Osfield
Hi Paul, On Dec 15, 2007 5:02 PM, Paul Martz [EMAIL PROTECTED] wrote: Hi Robert -- To perform this test, I simply deleted the osgdb_freetype.dll plugin. The results are attached. The default font appears to render at the normal size. The issue appears to be limited to osgText using freetype

Re: [osg-users] Big fonts in current SVN

2007-12-16 Thread Paul Martz
Thanks, Robert -- Unfortunately, this change had no effect. Maybe another avenue of attack might be to add DEBUG_INFO messages to osgText to display components that contribute to the final size of SCREEN-aligned glyphs? Then we could compare my DEBUG_INFO output against yours to see if that sheds

Re: [osg-users] Big fonts in current SVN

2007-12-15 Thread Robert Osfield
Hi Paul, Thanks for investigating this perplexing issue, it may well just be a single line being wrong. As an experiment could you disable the use of freetype fonts so that osgText falls back to using the inbuilt default font. Robert. On Dec 14, 2007 10:55 PM, Paul Martz [EMAIL PROTECTED]

Re: [osg-users] Big fonts in current SVN

2007-12-15 Thread Paul Martz
Hi Robert -- To perform this test, I simply deleted the osgdb_freetype.dll plugin. The results are attached. The default font appears to render at the normal size. The issue appears to be limited to osgText using freetype fonts. (Note the attachment is downsampled to stay within osg-users posting

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Robert Osfield
HI Paul, I have just run osgviewer on my Linux box and the fonts are the original size. I wonder if this is a new cross platform issue introduced by David's work on Text3D, or something associated with use of the newer freetype library, or perhaps the fonts at your end have somehow changed. Is

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Garrett Potts
Hello All: I feel like I have seen this befor on a windows build I did several months ago. I think I was using a system installed font on windows and not the font that comes in the OSG data path. When I used the OSG data path font everything is OK. Sorry if this doesn't help much. Take

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Robert Osfield
On Dec 14, 2007 2:05 PM, Paul Martz [EMAIL PROTECTED] wrote: Thanks all. I don't think it's an issue with fonts on my system because the 2.2 and SVN screenshots were both captured on the same system. Double check this assertion, use OSG_NOTIFY_LEVEL set to DEBUG to find out which fonts have

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Jean-Sébastien Guay
Hello Robert, Is anyone else seeing this issue with the SVN version of the OSG? My last update was yesterday, and I don't see anything wrong with the font size... I'll try to update now and see. J-S -- __ Jean-Sebastien Guay [EMAIL

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Paul Martz
Double check this assertion, use OSG_NOTIFY_LEVEL set to DEBUG to find out which fonts have been loaded in each case. Good idea. This shows that 2.2 (correct size) and SVN head (large size) are both loading the same font file: OpenSceneGraph-Data\fonts\arial.ttf. Do they use the same version

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Jean-Sébastien Guay
Hello, Is anyone else seeing this issue with the SVN version of the OSG? My last update was yesterday, and I don't see anything wrong with the font size... I'll try to update now and see. Nope, still no problem... Sorry to not be of any help, Paul. J-S --

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Jean-Sébastien Guay
Hello Paul, J-S -- Understand you don't see the same issue. What version of FreeType are you using? (And please confirm you're on Windows VS8.) My environment seems to be very similar to yours: - Freetype 2.3.5 (from Mike's 3rdParty SVN) - Windows Vista Ultimate 32bit (possibly one

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Jeremy Moles
I would just like to jump in here and say I'm also having font problems w/ SVN as of either yesterday or the day before. My problems aren't like the ones Paul is seeing, but they're definitely new differences that weren't there Tuesday... Attached is a picture of the osghudlabel example from

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Jeremy Moles
Image attached. On Fri, 2007-12-14 at 12:53 -0500, Jeremy Moles wrote: I would just like to jump in here and say I'm also having font problems w/ SVN as of either yesterday or the day before. My problems aren't like the ones Paul is seeing, but they're definitely new differences that weren't

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Robert Osfield
On Dec 14, 2007 3:18 PM, Jean-Sébastien Guay [EMAIL PROTECTED] wrote: Hello, Is anyone else seeing this issue with the SVN version of the OSG? My last update was yesterday, and I don't see anything wrong with the font size... I'll try to update now and see. Nope, still no problem...

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Robert Osfield
Hi Jeremy, The alignment problem is a known problem that David (the author of the recent changes to osgText) knows about and will be looking into. The texture based fonts themselves haven't actually changed apart from the internals being reworked in terms of the new TexBase class, the actual

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Jeremy Moles
On Fri, 2007-12-14 at 20:23 +, Robert Osfield wrote: Hi Jeremy, The alignment problem is a known problem that David (the author of the recent changes to osgText) knows about and will be looking into. The texture based fonts themselves haven't actually changed apart from the internals

Re: [osg-users] Big fonts in current SVN

2007-12-14 Thread Paul Martz
Next, I'll try taking the 2.2 osgText src and include directories, drop them into my SVN tree, and rebuild. So I'll have the old osgText with the new OSG and 3rd party dependencies. If I can get it to build, that should be a good test. I put the 2.2 osgText include and src dirs in my svn