Kaydet (Commit) 84703080 authored tarafından Herbert Dürr's avatar Herbert Dürr

#i124915# use target device dependent font height again

Setting a fixed default font height parameter doesn't make much sense when
neither the target device nor its mapping mode nor its target resolution are
known. This change reverts revision 1589449 of bug 124686 that has already been
solved differently and restores the previous behaviour so that the default height
of default constructed fonts is set to 12pt when the target device becomes known.
Reviewed-by: 's avatarArmin Le Grand <alg@apache.org>
üst 4bdef485
......@@ -74,12 +74,6 @@ Impl_Font::Impl_Font() :
mbVertical = false;
mbTransparent = true;
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