# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This file incorporates work covered by the following license notice: # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed # with this work for additional information regarding copyright # ownership. The ASF licenses this file to you under the Apache # License, Version 2.0 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.apache.org/licenses/LICENSE-2.0 . # $(eval $(call gb_Library_Library,tk)) $(eval $(call gb_Library_set_componentfile,tk,toolkit/util/tk,services)) $(eval $(call gb_Library_use_externals,tk,\ boost_headers \ )) $(eval $(call gb_Library_set_include,tk,\ $$(INCLUDE) \ -I$(SRCDIR)/toolkit/inc \ -I$(SRCDIR)/toolkit/source \ )) $(eval $(call gb_Library_add_defs,tk,\ -DTOOLKIT_DLLIMPLEMENTATION \ )) $(eval $(call gb_Library_use_sdk_api,tk)) $(eval $(call gb_Library_use_libraries,tk,\ comphelper \ cppu \ cppuhelper \ sal \ salhelper \ i18nlangtag \ svl \ tl \ utl \ vcl \ )) $(eval $(call gb_Library_add_exception_objects,tk,\ toolkit/source/awt/asynccallback \ toolkit/source/awt/stylesettings \ toolkit/source/awt/scrollabledialog \ toolkit/source/awt/vclxaccessiblecomponent \ toolkit/source/awt/vclxbitmap \ toolkit/source/awt/vclxcontainer \ toolkit/source/awt/vclxdevice \ toolkit/source/awt/vclxfont \ toolkit/source/awt/vclxgraphics \ toolkit/source/awt/vclxmenu \ toolkit/source/awt/vclxpointer \ toolkit/source/awt/vclxprinter \ toolkit/source/awt/vclxregion \ toolkit/source/awt/vclxspinbutton \ toolkit/source/awt/vclxsystemdependentwindow \ toolkit/source/awt/vclxtabpagecontainer \ toolkit/source/awt/animatedimagespeer \ toolkit/source/awt/vclxtoolkit \ toolkit/source/awt/vclxtopwindow \ toolkit/source/awt/vclxwindow \ toolkit/source/awt/vclxwindow1 \ toolkit/source/awt/vclxwindows \ toolkit/source/controls/accessiblecontrolcontext \ toolkit/source/controls/controlmodelcontainerbase \ toolkit/source/controls/dialogcontrol \ toolkit/source/controls/eventcontainer \ toolkit/source/controls/filectrl \ toolkit/source/controls/formattedcontrol \ toolkit/source/controls/geometrycontrolmodel \ toolkit/source/controls/grid/defaultgridcolumnmodel \ toolkit/source/controls/grid/defaultgriddatamodel \ toolkit/source/controls/grid/gridcolumn \ toolkit/source/controls/grid/grideventforwarder \ toolkit/source/controls/grid/sortablegriddatamodel \ toolkit/source/controls/grid/gridcontrol \ toolkit/source/controls/roadmapcontrol \ toolkit/source/controls/roadmapentry \ toolkit/source/controls/svtxgridcontrol \ toolkit/source/controls/svmedit \ toolkit/source/controls/tabpagecontainer \ toolkit/source/controls/tabpagemodel \ toolkit/source/controls/stdtabcontroller \ toolkit/source/controls/stdtabcontrollermodel \ toolkit/source/controls/tkscrollbar \ toolkit/source/controls/tkspinbutton \ toolkit/source/controls/animatedimages \ toolkit/source/controls/spinningprogress \ toolkit/source/controls/table/cellvalueconversion \ toolkit/source/controls/table/defaultinputhandler \ toolkit/source/controls/table/gridtablerenderer \ toolkit/source/controls/table/mousefunction \ toolkit/source/controls/table/tablecontrol \ toolkit/source/controls/table/tablecontrol_impl \ toolkit/source/controls/table/tabledatawindow \ toolkit/source/controls/table/tablegeometry \ toolkit/source/controls/tree/treecontrol \ toolkit/source/controls/tree/treecontrolpeer \ toolkit/source/controls/tree/treedatamodel \ toolkit/source/controls/unocontrol \ toolkit/source/controls/unocontrolbase \ toolkit/source/controls/unocontrolcontainer \ toolkit/source/controls/unocontrolcontainermodel \ toolkit/source/controls/unocontrolmodel \ toolkit/source/controls/unocontroltablemodel \ toolkit/source/controls/unocontrols \ toolkit/source/controls/unogridcolumnfacade \ toolkit/source/hatchwindow/documentcloser \ toolkit/source/hatchwindow/hatchwindow \ toolkit/source/hatchwindow/hatchwindowfactory \ toolkit/source/hatchwindow/ipwin \ toolkit/source/helper/accessibilityclient \ toolkit/source/helper/btndlg \ toolkit/source/helper/imagealign \ toolkit/source/helper/listenermultiplexer \ toolkit/source/helper/property \ toolkit/source/helper/tkresmgr \ toolkit/source/helper/unopropertyarrayhelper \ toolkit/source/helper/unowrapper \ toolkit/source/helper/vclunohelper \ )) ifeq ($(OS),MACOSX) $(eval $(call gb_Library_add_cxxflags,tk,\ $(gb_OBJCXXFLAGS) \ )) $(eval $(call gb_Library_add_libs,tk,\ -lobjc \ )) endif ifeq ($(OS),iOS) $(eval $(call gb_Library_add_cxxflags,tk,\ $(gb_OBJCXXFLAGS))) endif # vim: set noet sw=4 ts=4: ee26b21 Use the same ascender and descender calculation for fonts with CFF table as fonts without CFF table. This also provides a better fix for tdf#138325 and tdf#151039. Change-Id: I416a123199e94401fa557fce95013eb8b0590e33 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143683 Tested-by: خالد حسني <khaled@aliftype.com> Reviewed-by: خالد حسني <khaled@aliftype.com>
Use the same ascender and descender calculation for fonts with CFF
table as fonts without CFF table.

This also provides a better fix for tdf#138325 and tdf#151039.

Change-Id: I416a123199e94401fa557fce95013eb8b0590e33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143683
Tested-by: خالد حسني <khaled@aliftype.com>
Reviewed-by: خالد حسني <khaled@aliftype.com>
Drop dummy function 2022-12-05T21:12:48+00:00 Khaled Hosny khaled@aliftype.com 2022-12-05T15:58:58+00:00 05b7e6039da5fda18205798d00e335b2c8126872 Type 1 support is long and this was always dead code anyway. Change-Id: Ia00626e7d44419af333feb59d4dc52e624ffd263 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143682 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@aliftype.com>
Type 1 support is long and this was always dead code anyway.

Change-Id: Ia00626e7d44419af333feb59d4dc52e624ffd263
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143682
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
use faster TempFile for font subset writing 2022-09-24T14:19:17+00:00 Noel Grandin noelgrandin@gmail.com 2022-09-22T18:41:33+00:00 a0e674851896d2d8e869474db067b7698293c02a by not asking for the name or URL, we stay on the happy path, which is faster on Windows Change-Id: Ia333ab251fc0fc4129ad0610412c5c509914a58e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140453 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
by not asking for the name or URL, we stay on the happy path,
which is faster on Windows

Change-Id: Ia333ab251fc0fc4129ad0610412c5c509914a58e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140453
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
vcl: Drop unused SalGraphics::CreateFontSubset() argument 2022-09-06T13:09:57+00:00 Khaled Hosny khaled@aliftype.com 2022-09-05T20:36:20+00:00 394655636307de3ba3c4b2d52f3c1abf4b900e18 pWidths is always nullptr. Change-Id: I1c666f146865786269e9513cbb6c8ffdc7df96e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139461 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@aliftype.com>
pWidths is always nullptr.

Change-Id: I1c666f146865786269e9513cbb6c8ffdc7df96e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139461
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>