Background isn't drawn when using a single char [PATCH]

Bug #1046368 reported by Marc Palmans
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
WPF-Math
New
Undecided
Unassigned

Bug Description

See title.

Index: CharBox.cs
===================================================================
--- CharBox.cs (revision 15649)
+++ CharBox.cs (revision 15650)
@@ -27,6 +27,8 @@

         public override void Draw(DrawingContext drawingContext, double scale, double x, double y)
         {
+ base.Draw(drawingContext, scale, x, y);
+
             // Draw character at given position.
             var typeface = this.Character.Font;
             var glyphIndex = typeface.CharacterToGlyphMap[this.Character.Character];

Revision history for this message
Friedrich von Never (friedrich-v) wrote :

Hello, Marc!

Your patch was merged into a fork: https://github.com/ForNeVeR/wpf-math/pull/12

Thank you!

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.