Menu

#35 Font causes segfault

2.0.0
Fixed
nobody
2011-07-15
2010-02-03
Anonymous
No

Originally created by: pedromor... (code.google.com)@gmail.com
Originally owned by: zakalawe@mac.com

As of 1.9.0, changing "helvetica-bold" to "helvetica" in e.g.
Instruments/altimeter.xml causes the cockpit/panel loader to segfault.

a) It would be nice if helvetica were supported.

b) Failing that, if helvetica is called for it would be nice to print a
warning and substitute some similar font.

denker #20F

Discussion

  • Anonymous

    Anonymous - 2010-02-03

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

    (No comment was entered for this change.)

    Status: New

     
  • Anonymous

    Anonymous - 2010-02-10

    Originally posted by: zakalawe@mac.com

    Would be good to know if this is still reproducible with CVS/2.0.0. It should be trivial to fix the crash, as for
    whether or not 'helvetica' can be supported, depends on what's available in data. I note there is a 'Helvetica.txf'
    but 'helvetica_bold.txf', so likely the name-matching algorithm needs to be changed.

     
  • Anonymous

    Anonymous - 2010-02-10

    Originally posted by: zakalawe@mac.com

    (No comment was entered for this change.)

    Labels: GUI
    Owner: zakal...@mac.com
    Status: Dev

     
  • Anonymous

    Anonymous - 2010-02-10

    Originally posted by: zakalawe@mac.com

    Pushed to my gitorious:

    http://gitorious.org/~zakalawe/fg/james-flightgear/commit/03c87ed867f96957d84816c683ef7f3915273693

    And also to CVS HEAD.

    Font-name lookups are now case-insensitive, and I guard against missing fonts to avoid crashing - instead a
    warning is logged when the panel is loaded.

    Status: Fixed

     
  • Anonymous

    Anonymous - 2011-06-05

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

    (No comment was entered for this change.)

    Status: Temp

     
  • Anonymous

    Anonymous - 2011-06-05

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

    (No comment was entered for this change.)

    Status: Fixed

     
  • Anonymous

    Anonymous - 2011-07-15

    Originally posted by: gijsrooy

    (No comment was entered for this change.)

    Labels: Milestone-2.0.0

     

Log in to post a comment.

MongoDB Logo MongoDB