diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-09 15:32:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-09 15:32:34 +0100 |
| commit | ca9dfb8c67721ad667e204e22908f4e5c723c2ce (patch) | |
| tree | 512b6f335a077d26a9c5b8cd2054cc89a1be9834 /src/font_size.cc | |
| parent | dca56d88f34daa66d0df30e966030f84e99b4bea (diff) | |
Various work on improving vertical position handling.
Diffstat (limited to 'src/font_size.cc')
| -rw-r--r-- | src/font_size.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/font_size.cc b/src/font_size.cc index f3e6c89..5e5fd4c 100644 --- a/src/font_size.cc +++ b/src/font_size.cc @@ -48,3 +48,9 @@ FontSize::from_points (int p) s.set_points (p); return s; } + +bool +FontSize::specified () const +{ + return _proportional || _points; +} |
