86343c777d
OBS-URL: https://build.opensuse.org/request/show/1073838 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=1068
27 lines
908 B
Diff
27 lines
908 B
Diff
Index: libreoffice-7.5.1.2/vcl/source/font/fontmetric.cxx
|
|
===================================================================
|
|
--- libreoffice-7.5.1.2.orig/vcl/source/font/fontmetric.cxx
|
|
+++ libreoffice-7.5.1.2/vcl/source/font/fontmetric.cxx
|
|
@@ -549,20 +549,7 @@ void ImplFontMetricData::ImplInitBaselin
|
|
double fScale = 0;
|
|
pFontInstance->GetScale(nullptr, &fScale);
|
|
hb_position_t nBaseline = 0;
|
|
-
|
|
- if (hb_ot_layout_get_baseline(pHbFont,
|
|
- HB_OT_LAYOUT_BASELINE_TAG_HANGING,
|
|
- HB_DIRECTION_INVALID,
|
|
- HB_SCRIPT_UNKNOWN,
|
|
- HB_TAG_NONE,
|
|
- &nBaseline))
|
|
- {
|
|
- mnHangingBaseline = nBaseline * fScale;
|
|
- }
|
|
- else
|
|
- {
|
|
- mnHangingBaseline = 0;
|
|
- }
|
|
+ mnHangingBaseline = 0;
|
|
}
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|