diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/JFM.hpp')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-src/src/JFM.hpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/JFM.hpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/JFM.hpp index 908ad7a1c14..ba5b5ba876a 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-src/src/JFM.hpp +++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/JFM.hpp @@ -25,22 +25,21 @@ #include "TFM.hpp" -class JFM : public TFM -{ +class JFM : public TFM { public: JFM (std::istream &is); bool verticalLayout () const override {return _vertical;} - uint16_t minChar () const {return _minchar;} - uint16_t maxChar () const {return static_cast<uint16_t>(_minchar+_charTypeTable.size()-1);} + uint32_t minChar () const {return _minchar;} + uint32_t maxChar () const {return static_cast<uint32_t>(_minchar+_charTypeTable.size()-1);} protected: void readTables (StreamReader &reader, int nt, int nw, int nh, int nd, int ni); int charIndex (int c) const override; private: - uint16_t _minchar; ///< character code of first entry in character type table + uint32_t _minchar; ///< character code of first entry in character type table bool _vertical; ///< true if metrics refer to vertical text layout - std::vector<uint16_t> _charTypeTable; + std::vector<uint8_t> _charTypeTable; }; #endif |