| commit | cca6fe148c3b69b7626c72f39599b9af67712496 | [log] |
|---|---|---|
| author | Khaled Hosny <khaled@libreoffice.org> | Tue Jul 25 03:14:37 2023 +0300 |
| committer | Michael Stahl <michael.stahl@allotropia.de> | Tue Jul 25 10:49:04 2023 +0200 |
| tree | 7db64a561cedeb90929f244858c728fb77d9d9da | |
| parent | 830f501147f830d5d1eeac601d97f9720d7b80f9 [diff] |
tdf#156437: Fix missing name inside embedded Type 1 font in PDF Regression from: commit 7415ce2b9795a78f836bc5e5bffb4b56eee26b21 Author: Khaled Hosny <khaled@aliftype.com> Date: Mon Dec 5 20:52:13 2022 +0200 tdf#113048: Fix PDF ascender and descender of some fonts We were setting the font in PDF /Font dictionary, but not inside the font itself. Change-Id: I1936f615f62fd7afa8f31d66d35dbded879328c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154880 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org> (cherry picked from commit 75f25198376991937c76774afff35996143d570a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154863 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
diff --git a/vcl/source/fontsubset/fontsubset.cxx b/vcl/source/fontsubset/fontsubset.cxx index 4e6e03c..1ecd358 100644 --- a/vcl/source/fontsubset/fontsubset.cxx +++ b/vcl/source/fontsubset/fontsubset.cxx
@@ -79,6 +79,10 @@ bool FontSubsetInfo::CreateFontSubset( mpReqEncodedIds = pReqEncodedIds; mnReqGlyphCount = nReqGlyphCount; OString aPSName = m_aPSName.toUtf8(); if (!mpReqFontName) mpReqFontName = aPSName.getStr(); // TODO: move the glyphid/encid/notdef reshuffling from the callers to here // dispatch to underlying subsetters