From a38408419c613674f1538b77429dd7bd4463dc3a Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Sun, 3 May 2020 00:50:53 -0400 Subject: [PATCH] Remove obsolete comment. We assert (or worse) if pos < 0. --- src/Paragraph.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Paragraph.h b/src/Paragraph.h index d5c02e4053..3b5f2b8162 100644 --- a/src/Paragraph.h +++ b/src/Paragraph.h @@ -341,12 +341,8 @@ public: /// Font const & getFirstFontSettings(BufferParams const &) const; - /** Get fully instantiated font. If pos == -1, use the layout - font attached to this paragraph. - If pos == -2, use the label font of the layout attached here. - In all cases, the font is instantiated, i.e. does not have any - attributes with values FONT_INHERIT, FONT_IGNORE or - FONT_TOGGLE. + /** Get fully instantiated font, i.e., one that does not have any + attributes with values FONT_INHERIT, FONT_IGNORE or FONT_TOGGLE. */ Font const getFont(BufferParams const &, pos_type pos, Font const & outerfont) const; -- 2.39.5