mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
do not deep-copy QFontSubset::glyphName() object arguments
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3b8b4eb416
commit
abff4727ec
2 changed files with 2 additions and 2 deletions
|
@ -229,7 +229,7 @@ static FT_Face ft_face(const QFontEngine *engine)
|
|||
return 0;
|
||||
}
|
||||
|
||||
QByteArray QFontSubset::glyphName(unsigned int glyph, const QVector<int> reverseMap) const
|
||||
QByteArray QFontSubset::glyphName(unsigned int glyph, const QVector<int> &reverseMap) const
|
||||
{
|
||||
uint glyphIndex = glyph_indices[glyph];
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ public:
|
|||
QByteArray widthArray() const;
|
||||
QByteArray createToUnicodeMap() const;
|
||||
QVector<int> getReverseMap() const;
|
||||
QByteArray glyphName(unsigned int glyph, const QVector<int> reverseMap) const;
|
||||
QByteArray glyphName(unsigned int glyph, const QVector<int> &reverseMap) const;
|
||||
|
||||
static QByteArray glyphName(unsigned short unicode);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue