| 774 | } |
| 775 | |
| 776 | float MyXMLVisitor::getFontSize() const |
| 777 | { |
| 778 | for (auto i = _fontElements.rbegin(), iRend = _fontElements.rend(); i != iRend; ++i) |
| 779 | { |
| 780 | if (i->fontSize != -1) |
| 781 | return i->fontSize; |
| 782 | } |
| 783 | return 12; |
| 784 | } |
| 785 | |
| 786 | std::string MyXMLVisitor::getFace() const |
| 787 | { |