OpenGL GAL::BitmapText() asserts for space

Bug #1668455 reported by John Beard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

If you pass a space to OPENGL_GAL::BitmapText, you hit this assertion:

wxASSERT_MSG( LookupGlyph(c) != nullptr, wxT( "Missing character in bitmap font atlas." ) );

If you continue, the string is drawn without the space (there is no crash).

In Cairo mode, the space is just ommitted.

Tags: gal opengl
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision ef8f5db024fb2f766dcdd559be80e792b01420a0
https://git.launchpad.net/kicad/patch/?id=ef8f5db024fb2f766dcdd559be80e792b01420a0

Changed in kicad:
status: New → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.