Menu

#268 Text all over the screen / font sizes messed up (with >= OSG 2.9.11)

WontFix
nobody
OSG (57)
High
2011-06-19
2011-02-13
Anonymous
No

Originally created by: gfreaks....@gmx.de

*What steps will reproduce the problem?*
1. Start FG-2.2.0
2. Look at the yellow text that's supposed to appear there

*What is the expected output? What do you see instead?*
See screenshots [1] and [2].

While the sim is running I can see letters/artefacts moving along with the plane, as well. See screenshots [3] and [4].

I think this was discussed on IRC and solved for the 'next' branch. Just to remind to solve this in 2.2.0, too.

*Any output in the console (black window)?*
No.

*What version of the product are you using (when using GIT version, please
mention date or Hudson build number)?*
FG-2.2.0 from git.

*What operating system and graphics card?*
GNU/Linux Debian 'Squeeze', 2.6.32-5-amd64
ATI Technologies Inc RS880 [Radeon HD 4200], proprietary driver 10.12

*Please provide any additional information below or as attachment (Avoid
expiring external links, such as to imageshack/pastebin/...).*
[1] http://fgfs.beggabaur.de/daten/splashscreen1.jpg
[2] http://fgfs.beggabaur.de/daten/splashscreen2.jpg
[3] http://fgfs.beggabaur.de/daten/splashscreen3.jpg
[4] http://fgfs.beggabaur.de/daten/splashscreen4.jpg

Related

Tickets: #474

Discussion

  • Anonymous

    Anonymous - 2011-02-23

    Originally posted by: one31... (code.google.com)@gmail.com

    Same problem here on Debian "Squeeze" GNU/Linux 2.6.32-5-amd64 with nVidia GeForce 6150SE nForce 430 with proprietary drivers 195.36.31 but the problem is also seen during the simulation session in some aircraft.

    Splash Screen     : http://ssh.shellium.org/~armo/fgfs/fgfs-screen-069.png
    On starting       : http://ssh.shellium.org/~armo/fgfs/fgfs-screen-065.png
    After autostart   : http://ssh.shellium.org/~armo/fgfs/fgfs-screen-066.png
    The CDU           : http://ssh.shellium.org/~armo/fgfs/fgfs-screen-067.png
    The CDU with menu : http://ssh.shellium.org/~armo/fgfs/fgfs-screen-068.png
    Not all aircraft  : http://ssh.shellium.org/~armo/fgfs/fgfs-screen-070.png

    PLIB: SVN Rev 2163
    OSG : SVN Rev 12190
    SG  : GIT [ra079870bca7831980c2ba278bab3ccd1d82e4cdd]
    FG  : GIT [r6c3035af60abf72fcd61453d5e4edd676fa074b3]

     
  • Anonymous

    Anonymous - 2011-02-23

    Originally posted by: gijsrooy

    Seems to depend on the OSG version. Older OSG systems do not experience the problem.

    Summary: Text all over the screen
    Labels: OSG

     
  • Anonymous

    Anonymous - 2011-03-05

    Originally posted by: cumuluni... (code.google.com)@gmail.com

    OSG from SVN is not supported and may show artefacts. Use the latest release of OSG.

     
  • Anonymous

    Anonymous - 2011-04-11

    Originally posted by: bre... (code.google.com)@gmail.com

    Reported to also affect OSG 2.9.11 - but not OSG 2.9.9.
    The OSG revision reported above (SVN Rev 12190) is part of OSG >= 2.9.11.

     
  • Anonymous

    Anonymous - 2011-04-11

    Originally posted by: kanto... (code.google.com)@gmail.com

    OSG 2.9.10 not affected by this bug.

     
  • Anonymous

    Anonymous - 2011-05-03

    Originally posted by: bre... (code.google.com)@gmail.com

    It's "osgText" which is now longer working for us - it seems to be scattering the characters across the screen. Started with OSG 2.9.11 ([r12136]) and was still ok with OSG 2.9.10 ([r11986]). Indeed there were several updates and bugfixes to osgText in between. The change log/diff also shows several changes to text alignment and character positioning. Possibly something was broken on the OSG side. However, since no one else has complained yet, it's also possible that our code is relying on some old bug - or we need to adapt to some OSG change here.

    Summary: Text all over the screen (with >= OSG 2.9.11)
    Cc: timoor...@gmail.com
    Status: Accepted

     
  • Anonymous

    Anonymous - 2011-05-08

    Originally posted by: bre... (code.google.com)@gmail.com

    The issue is caused by an update to osgText::Text. This update requires adapting the OSG font plugins - however, OSG has only updated its freetype plugin accordingly. FlightGear is using txf fonts and OSG's TXFFont plugin wasn't updated yet, so txf font support is broken now. FlightGear may be the main user of that plugin - so we may need to find someone to fix it. I've also sent an email to the OSG mailing list.

    Attached patch can be applied against OSG>=2.9.11 (SVN >=[r12068]) as a work-around until the plugin is fixed. It reverts the relevant osgText change - and works with the original TXFFont plugin.

     
  • Anonymous

    Anonymous - 2011-05-12

    Originally posted by: bre... (code.google.com)@gmail.com

    Good news: OSG maintainer (RobertO) successfully reproduced our problem - and just committed a patch (in OSG trunk now). Haven't tested it myself yet - but it very likely fixes our problem. Can someone please test latest OSG trunk? (I'm not able to test for the next few days...).

    Status: Testing

     
  • Anonymous

    Anonymous - 2011-05-13

    Originally posted by: Ashley.W... (code.google.com)@gmail.com

    For me the main issue is gone. The call-sign is sightly larger than normal on the dashboard of the b1900d though: http://imgur.com/1FSXb
    Arch Linux, x86_64, nVidia GeForce 330M, kernel: 2.6.38, GCC: 4.6.0

     
  • Anonymous

    Anonymous - 2011-05-13

    Originally posted by: bre... (code.google.com)@gmail.com

    @Ashley: Another fix concerning text scaling of txf fonts was also committed to OSG yesterday. Please report the exact OSG SVN revision you tested. The text size issue _should_ be gone now with very latest OSG trunk.

     
  • Anonymous

    Anonymous - 2011-05-14

    Originally posted by: one31... (code.google.com)@gmail.com

    This issue seems to be fixed in Rev 12408 on my system: Arch x86_64, GeForce 6150SE, kernel: 2.6.38 GCC: 4.6.0

     
  • Anonymous

    Anonymous - 2011-05-14

    Originally posted by: Ashley.W... (code.google.com)@gmail.com

    I was using [r12408] but I've just updated and built it and simgear and flightgear again to make sure but the call-sign is still slightly larger than normal.

     
  • Anonymous

    Anonymous - 2011-05-17

    Originally posted by: bre... (code.google.com)@gmail.com

    Alas. Indeed, the font size is messed up now. It's slightly too large in some places - and far to small in other places. According to osg the font size was changed since a bug was fixed. But if it stays like this, we'd need to change every single text label and adapt every single aircraft...
    Attached example shows a comparison of OSG <= 2.9.10 (top) and [r12419] (pre-OSG2.9.15) (bottom). Instrument on the bottom-left has font too large - instrument on the right has a too small font. Both font sizes are configured in an a/c-specific XML file - so no way we could add a general work-around to FlightGear.
    Hope osg accepts this as a regression - and adds a workaround to restore the original font behaviour. Otherwise there'll be lots of hassle...

    Summary: Text all over the screen / font sizes messed up (with >= OSG 2.9.11)
    Status: Dev

     
  • Anonymous

    Anonymous - 2011-05-19

    Originally posted by: bre... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Labels: Priority-High

     
  • Anonymous

    Anonymous - 2011-06-19

    Originally posted by: bre... (code.google.com)@gmail.com

    Orignal issue is fixed (text all over screen), however there won't be any fix for the font size issue. The font size behaviour of OSG itself has changed ("has been fixed") and OSG isn't going to provide a backward compatible way to "restore the old and broken" font size handling. It's neither possible to provide a simple work-around, since the original OSG font size behaviour was obviouly influenced by a number of factors, so we cannot use some default factor to adapt font sizes.
    Each aircraft and text label using osgtext will need to be adapted individually - and font sizes will remain to depend on OSG versions. Once the OSG font size fix is part of an official OSG release, we should adapt affected aircraft.

    Status: WontFix

     

Log in to post a comment.

MongoDB Logo MongoDB