mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 01:48:59 +02:00
Remove _rowHeight
This commit is contained in:
parent
565bf8bcb2
commit
f3d3bd7bec
1 changed files with 1 additions and 3 deletions
|
@ -139,7 +139,6 @@ private:
|
|||
// Font characteristics
|
||||
QString _family;
|
||||
float _fontSize = 0.0f;
|
||||
float _rowHeight = 0.0f;
|
||||
float _leading = 0.0f;
|
||||
float _ascent = 0.0f;
|
||||
float _descent = 0.0f;
|
||||
|
@ -289,8 +288,7 @@ void Font3D::read(QIODevice& in) {
|
|||
readStream(in, _descent);
|
||||
readStream(in, _spaceWidth);
|
||||
_fontSize = _ascent + _descent;
|
||||
_rowHeight = _fontSize + _leading;
|
||||
|
||||
|
||||
// Read character count
|
||||
uint16_t count;
|
||||
readStream(in, count);
|
||||
|
|
Loading…
Reference in a new issue