Files
libreoffice/vcl/CppunitTest_vcl_font_ttf_structure_test.mk
Tomaž Vajngerl d0ee08cfbf oox: export embedded font used in a presentation document
This adds support to export the fonts that are used in an
presentation document. The fonts are converted to EOT fonts.

Adds an EOT converter, which converts a TTF font to EOT font by
writing a EOT header and adding the TTF font data.

Adds BigEndianTypes so we can read a structure that is defined in
big endian and the types get converted (if needed) to system
endian when accessed. + test

Adds TTF reader which reads the true type font structure in an
easy way that is used by the EOTConverter. + test

Change-Id: I8b0bcb69e47943c2a8679edf881d7c2bab45c450
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184288
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2025-04-30 08:30:48 +02:00

45 lines
1.3 KiB
Makefile

# -*- 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/.
#
$(eval $(call gb_CppunitTest_CppunitTest,vcl_font_ttf_structure_test))
$(eval $(call gb_CppunitTest_set_include,vcl_font_ttf_structure_test,\
$$(INCLUDE) \
-I$(SRCDIR)/vcl/inc \
))
$(eval $(call gb_CppunitTest_add_exception_objects,vcl_font_ttf_structure_test, \
vcl/qa/cppunit/font/TTFStructureTest \
))
$(eval $(call gb_CppunitTest_use_externals,vcl_font_ttf_structure_test,boost_headers))
$(eval $(call gb_CppunitTest_use_libraries,vcl_font_ttf_structure_test, \
basegfx \
comphelper \
cppu \
cppuhelper \
sal \
subsequenttest \
test \
unotest \
utl \
tl \
vcl \
xmlsecurity \
))
$(eval $(call gb_CppunitTest_use_sdk_api,vcl_font_ttf_structure_test))
$(eval $(call gb_CppunitTest_use_ure,vcl_font_ttf_structure_test))
$(eval $(call gb_CppunitTest_use_vcl,vcl_font_ttf_structure_test))
$(eval $(call gb_CppunitTest_use_rdb,vcl_font_ttf_structure_test,services))
$(eval $(call gb_CppunitTest_use_configuration,vcl_font_ttf_structure_test))
# vim: set noet sw=4 ts=4: