]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/FontMetrics.h
Add missing initialization
[lyx.git] / src / frontends / FontMetrics.h
index e8493d1316e897ada98ffc4638cbcbfaa920deec..8358e2eb1eadbf70204c7a3443006c4a828d3319 100644 (file)
@@ -142,6 +142,10 @@ public:
        inline int center(char_type c) const {
                return (rbearing(c) - lbearing(c)) / 2;
        }
+
+       /// return the number of expanding characters taken into account for
+       /// increased inter-word spacing during justification
+       virtual int countExpanders(docstring const & str) const = 0;
 };