summaryrefslogtreecommitdiffstats
path: root/scribus/fonts/scface_ttf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scribus/fonts/scface_ttf.cpp')
-rw-r--r--scribus/fonts/scface_ttf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scribus/fonts/scface_ttf.cpp b/scribus/fonts/scface_ttf.cpp
index e436d36..c8f65ae 100644
--- a/scribus/fonts/scface_ttf.cpp
+++ b/scribus/fonts/scface_ttf.cpp
@@ -603,7 +603,7 @@ bool ScFace_ttf::EmbedFont(QString &str) const
str+="/FontName /" + psName + " def\n";
str+="/Encoding /ISOLatin1Encoding where {pop ISOLatin1Encoding} {StandardEncoding} ifelse def\n";
str+="/PaintType 0 def\n/FontMatrix [1 0 0 1 0 0] def\n";
- str+="/FontBBox ["+FontBBox+"] def\n";
+ str+="/FontBBox ["+m_pdfFontBBox+"] def\n";
str+="/FontType 42 def\n";
str+="/FontInfo 8 dict dup begin\n";
str+="/FamilyName (" + psName + ") def\n";