From 125cdf3404e60cf78f2a5547e9a06ce994df5c8e Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Fri, 25 Dec 2015 12:21:26 +1100 Subject: vcl: note about physical and logical fonts Change-Id: I8e767ed61b93e1099f6e10ef77e813ba4e8d22db --- vcl/inc/PhysicalFontFace.hxx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'vcl') diff --git a/vcl/inc/PhysicalFontFace.hxx b/vcl/inc/PhysicalFontFace.hxx index aed2f031b20a..7d0b43c0a43e 100644 --- a/vcl/inc/PhysicalFontFace.hxx +++ b/vcl/inc/PhysicalFontFace.hxx @@ -46,6 +46,23 @@ public: // TODO: make cloning cheaper // abstract base class for physical font faces + +// Note about physical and logical fonts: +// +// A physical font is a concept we have taken from the Java world +// +// From https://docs.oracle.com/javase/tutorial/2d/text/fonts.html +// +// There are two types of fonts: physical fonts and logical fonts. +// Physical fonts are the actual font libraries consisting of, for +// example, TrueType or PostScript Type 1 fonts. The physical fonts +// may be Time, Helvetica, Courier, or any number of other fonts, +// including international fonts. Logical fonts are the following +// five font families: Serif, SansSerif, Monospaced, Dialog, and +// DialogInput. These logical fonts are not actual font libraries. +// Instead, the logical font names are mapped to physical fonts by +// the Java runtime environment. + class VCL_PLUGIN_PUBLIC PhysicalFontFace : public ImplDevFontAttributes { public: -- cgit