return maxsize;
}
+
+bool FontList::hasChangeInRange(pos_type pos, int len) const
+{
+ // FIXME: can't we use fontIterator(pos) instead?
+ const_iterator cit = list_.begin();
+ const_iterator end = list_.end();
+ for (; cit != end; ++cit) {
+ if (cit->pos() >= pos)
+ break;
+ }
+ if (cit != end && pos + len - 1 > cit->pos())
+ return false;
+
+ return true;
+}
+
+
+void FontList::validate(LaTeXFeatures & features) const
+{
+ const_iterator fcit = list_.begin();
+ const_iterator fend = list_.end();
+ for (; fcit != fend; ++fcit)
+ fcit->font().validate(features);
+}
+
} // namespace lyx