Kaydet (Commit) 4a7c54e0 authored tarafından Armin Le Grand's avatar Armin Le Grand

i124686 give empty constructed default font a default height

üst f7358fa9
...@@ -74,6 +74,12 @@ Impl_Font::Impl_Font() : ...@@ -74,6 +74,12 @@ Impl_Font::Impl_Font() :
mbVertical = false; mbVertical = false;
mbTransparent = true; mbTransparent = true;
mbConfigLookup = false; mbConfigLookup = false;
// #124686# the Size is defaulted to (0,0) when default constructed,
// this is not useful for a default font. Init it to a useful default
// so that the Font::Font() constructor which uses a 'naked' static
// Impl_Font instance (aStaticImplFont) creates a useful default font
maSize = Size(0, 16);
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment