summaryrefslogtreecommitdiffstats
path: root/external/more_fonts
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2019-09-18 15:42:30 +0200
committerAndras Timar <andras.timar@collabora.com>2019-09-18 16:55:58 +0200
commit9612812897c93cf0d86bcf1bf30096a669252e68 (patch)
treec065b838bcc601ffbe9a560dbd5b4ad9fec743be /external/more_fonts
parentThe menu is called 'Form', not 'Forms' (diff)
downloadcore-9612812897c93cf0d86bcf1bf30096a669252e68.tar.gz
core-9612812897c93cf0d86bcf1bf30096a669252e68.zip
add OpenDyslexic font
Change-Id: Ib05a6d6418563fd9333821594f0aca5ab724f3e8 Reviewed-on: https://gerrit.libreoffice.org/79099 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'external/more_fonts')
-rw-r--r--external/more_fonts/ExternalPackage_opendyslexic.mk19
-rw-r--r--external/more_fonts/Module_more_fonts.mk2
-rw-r--r--external/more_fonts/UnpackedTarball_opendyslexic.mk14
3 files changed, 35 insertions, 0 deletions
diff --git a/external/more_fonts/ExternalPackage_opendyslexic.mk b/external/more_fonts/ExternalPackage_opendyslexic.mk
new file mode 100644
index 000000000000..0afaa9bf5be5
--- /dev/null
+++ b/external/more_fonts/ExternalPackage_opendyslexic.mk
@@ -0,0 +1,19 @@
+# -*- 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_ExternalPackage_ExternalPackage,fonts_opendyslexic,font_opendyslexic))
+
+$(eval $(call gb_ExternalPackage_add_unpacked_files,fonts_opendyslexic,$(LIBO_SHARE_FOLDER)/fonts/truetype,\
+ OpenDyslexic-Bold-Italic.otf \
+ OpenDyslexic-Bold.otf \
+ OpenDyslexic-Italic.otf \
+ OpenDyslexic-Regular.otf \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/external/more_fonts/Module_more_fonts.mk b/external/more_fonts/Module_more_fonts.mk
index 526b06998941..92a9f7297fce 100644
--- a/external/more_fonts/Module_more_fonts.mk
+++ b/external/more_fonts/Module_more_fonts.mk
@@ -30,6 +30,7 @@ $(eval $(call gb_Module_add_targets,more_fonts,\
ExternalPackage_reem \
ExternalPackage_scheherazade \
ExternalPackage_EmojiOne_Color \
+ ExternalPackage_opendyslexic \
UnpackedTarball_alef \
UnpackedTarball_amiri \
UnpackedTarball_caladea \
@@ -50,6 +51,7 @@ $(eval $(call gb_Module_add_targets,more_fonts,\
UnpackedTarball_reem \
UnpackedTarball_scheherazade \
UnpackedTarball_EmojiOne_Color \
+ UnpackedTarball_opendyslexic \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/more_fonts/UnpackedTarball_opendyslexic.mk b/external/more_fonts/UnpackedTarball_opendyslexic.mk
new file mode 100644
index 000000000000..6a8f513deab8
--- /dev/null
+++ b/external/more_fonts/UnpackedTarball_opendyslexic.mk
@@ -0,0 +1,14 @@
+# -*- 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_UnpackedTarball_UnpackedTarball,font_opendyslexic))
+
+$(eval $(call gb_UnpackedTarball_set_tarball,font_opendyslexic,$(FONT_OPENDYSLEXIC_TARBALL),0))
+
+# vim: set noet sw=4 ts=4: