summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2022-09-26 15:55:51 +0200
committerخالد حسني <khaled@aliftype.com>2022-09-27 11:30:44 +0200
commit694f8eb1f79ff28a45682c77d7bb88ad9197025b (patch)
treec31b06874a02acf893224b5106a74d76b9b22e57
parent093143c5754ea1f8ec5e886468e124547ec5e21a (diff)
tdf#144348: Remove EmojiOne Color font
The EmojiFont setting is now a comma-separated list of the three common color emoji fonts, it should fallback to the next font if the first is missing. Change-Id: I7aa134f914ab829704e9b707f511f166a81a0089 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140623 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@aliftype.com>
-rw-r--r--Makefile.fetch1
-rw-r--r--Repository.mk1
-rw-r--r--download.lst2
-rw-r--r--external/more_fonts/ExternalPackage_EmojiOne_Color.mk16
-rw-r--r--external/more_fonts/Module_more_fonts.mk2
-rw-r--r--external/more_fonts/UnpackedTarball_EmojiOne_Color.mk14
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Common.xcs2
-rw-r--r--readlicense_oo/license/license.xml39
-rw-r--r--solenv/flatpak-manifest.in7
-rw-r--r--vcl/unx/generic/fontmanager/fontconfig.cxx2
10 files changed, 2 insertions, 84 deletions
diff --git a/Makefile.fetch b/Makefile.fetch
index cb76c9f08883..be1f988adf2a 100644
--- a/Makefile.fetch
+++ b/Makefile.fetch
@@ -180,7 +180,6 @@ $(WORKDIR)/download: $(BUILDDIR)/config_$(gb_Side).mk $(SRCDIR)/download.lst $(S
$(call fetch_Optional,MORE_FONTS,FONT_SOURCECODE_TARBALL) \
$(call fetch_Optional,MORE_FONTS,FONT_SOURCESANS_TARBALL) \
$(call fetch_Optional,MORE_FONTS,FONT_SOURCESERIF_TARBALL) \
- $(call fetch_Optional,MORE_FONTS,FONT_EMOJIONE_COLOR_TARBALL) \
$(call fetch_Optional,MORE_FONTS,FONT_NOTO_TARBALL) \
$(call fetch_Optional,MORE_FONTS,FONT_CULMUS_TARBALL) \
$(call fetch_Optional,MORE_FONTS,FONT_LIBRE_HEBREW_TARBALL) \
diff --git a/Repository.mk b/Repository.mk
index ef2de04e7874..7e8d3c2ede18 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -1044,7 +1044,6 @@ $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
fonts_carlito \
$(if $(MPL_SUBSET),,fonts_culmus) \
fonts_dejavu \
- fonts_emojione_color \
fonts_gentium \
$(if $(MPL_SUBSET),,fonts_kacst) \
fonts_liberation \
diff --git a/download.lst b/download.lst
index 9650caa66ed7..728dbeeb96f9 100644
--- a/download.lst
+++ b/download.lst
@@ -72,8 +72,6 @@ export FONT_SOURCESANS_SHA256SUM := e7bc9a1fec787a529e49f5a26b93dcdcf41506449dfc
export FONT_SOURCESANS_TARBALL := edc4d741888bc0d38e32dbaa17149596-source-sans-pro-2.010R-ro-1.065R-it.tar.gz
export FONT_SOURCESERIF_SHA256SUM := 826a2b784d5cdb4c2bbc7830eb62871528360a61a52689c102a101623f1928e3
export FONT_SOURCESERIF_TARBALL := source-serif-pro-3.000R.tar.gz
-export FONT_EMOJIONE_COLOR_SHA256SUM := d1a08f7c10589f22740231017694af0a7a270760c8dec33d8d1c038e2be0a0c7
-export FONT_EMOJIONE_COLOR_TARBALL := EmojiOneColor-SVGinOT-1.3.tar.gz
export FONT_NOTO_SHA256SUM := 29acc15a4c4d6b51201ba5d60f303dfbc2e5acbfdb70413c9ae1ed34fa259994
export FONT_NOTO_TARBALL := noto-fonts-20171024.tar.gz
export FONT_CULMUS_SHA256SUM := c0c6873742d07544f6bacf2ad52eb9cb392974d56427938dc1dfbc8399c64d05
diff --git a/external/more_fonts/ExternalPackage_EmojiOne_Color.mk b/external/more_fonts/ExternalPackage_EmojiOne_Color.mk
deleted file mode 100644
index 76cdb668487f..000000000000
--- a/external/more_fonts/ExternalPackage_EmojiOne_Color.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# -*- 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_emojione_color,font_emojione_color))
-
-$(eval $(call gb_ExternalPackage_add_unpacked_files,fonts_emojione_color,$(LIBO_SHARE_FOLDER)/fonts/truetype,\
- EmojiOneColor-SVGinOT.ttf \
-))
-
-# 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 c6e56c5b90b7..0d4ae72cf14d 100644
--- a/external/more_fonts/Module_more_fonts.mk
+++ b/external/more_fonts/Module_more_fonts.mk
@@ -28,7 +28,6 @@ $(eval $(call gb_Module_add_targets,more_fonts,\
ExternalPackage_noto \
ExternalPackage_reem \
ExternalPackage_scheherazade \
- ExternalPackage_EmojiOne_Color \
UnpackedTarball_alef \
UnpackedTarball_amiri \
UnpackedTarball_caladea \
@@ -47,7 +46,6 @@ $(eval $(call gb_Module_add_targets,more_fonts,\
UnpackedTarball_noto \
UnpackedTarball_reem \
UnpackedTarball_scheherazade \
- UnpackedTarball_EmojiOne_Color \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/more_fonts/UnpackedTarball_EmojiOne_Color.mk b/external/more_fonts/UnpackedTarball_EmojiOne_Color.mk
deleted file mode 100644
index d931c7705636..000000000000
--- a/external/more_fonts/UnpackedTarball_EmojiOne_Color.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# -*- 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_emojione_color))
-
-$(eval $(call gb_UnpackedTarball_set_tarball,font_emojione_color,$(FONT_EMOJIONE_COLOR_TARBALL)))
-
-# vim: set noet sw=4 ts=4:
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index 8f12cf4a1218..235c5d2cd679 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -5421,7 +5421,7 @@
<info>
<desc>Special font for rendering of emojis</desc>
</info>
- <value>EmojiOne Color</value>
+ <value>Segoe UI Emoji,Apple Color Emoji,Noto Color Emoji</value>
</prop>
<prop oor:name="FontsUseWinMetrics" oor:type="oor:string-list" oor:nillable="false">
<info>
diff --git a/readlicense_oo/license/license.xml b/readlicense_oo/license/license.xml
index 1fbcd05554fc..c4944079de1f 100644
--- a/readlicense_oo/license/license.xml
+++ b/readlicense_oo/license/license.xml
@@ -2508,45 +2508,6 @@
<p>Except as contained in this notice, the name of Tavmjong Bah shall not be used in advertising or otherwise
to promote the sale, use or other dealings in this Font Software without prior written authorization from
Tavmjong Bah. For further information, contact: tavmjong @ free . fr.</p>
- <h2>EmojiOne Color</h2>
- <h3>Licenses</h3>
- <ul>
- <li>Copyright 2016 Brad Erickson CC-BY-4.0/MIT</li>
- <li>Copyright 2015 Ranks.com Inc. CC-BY-4.0</li>
- <li>Copyright 2013 Joe Loughry and Terence Eden MIT</li>
- </ul>
- <h4>Artwork</h4>
- <ul>
- <li>Applies to SVG files and TTF font files</li>
- <li>License: Creative Commons Attribution 4.0 International</li>
- <li>Human Readable License: <a href=
- "http://creativecommons.org/licenses/by/4.0/">http://creativecommons.org/licenses/by/4.0/</a></li>
- <li>Complete Legal Terms: <a href=
- "http://creativecommons.org/licenses/by/4.0/legalcode">http://creativecommons.org/licenses/by/4.0/legalcode</a></li>
- </ul>
- <h4>Source Code</h4>
- <ul>
- <li>Applies to everything else</li>
- <li>License: MIT</li>
- <li>Complete Legal Terms: http://opensource.org/licenses/MIT</li>
- </ul>
- <h4>EmojiOne License</h4>
- <p>The SVG files of the <a href="http://emojione.com/">EmojiOne</a> project have been modified to create the
- fallback emoji glyphs and used as-is for the SVGinOT color glyphs. Files are stored in
- <code>assets/emojione-svg</code>.</p>
- <ul>
- <li>Source: https://github.com/Ranks/emojione</li>
- <li>Art License: Creative Commons Attribution 4.0 International</li>
- </ul>
- <p>Please review the specific attribution requirements for commercial use of EmojiOne graphics:
- <a href="http://emojione.com/licensing/">http://emojione.com/licensing/</a></p>
- <h4>Power Symbol License</h4>
- <p>The SVG files from the <a href="http://unicodepowersymbol.com/">Unicode Power Symbol</a> project have been
- modified to create B&amp;W Power Symbol glyphs. Files are stored in <code>assets/svg-bw</code>.</p>
- <ul>
- <li>Source: <a href="https://github.com/jloughry/Unicode">https://github.com/jloughry/Unicode</a></li>
- <li>Art License: MIT</li>
- </ul>
<h2>Gentium</h2>
<p>The following software may be included in this product: Gentium fonts. Use of any of this software is
governed by the terms of the license below:</p>
diff --git a/solenv/flatpak-manifest.in b/solenv/flatpak-manifest.in
index e03dafbf92b4..cf5cc4a30e00 100644
--- a/solenv/flatpak-manifest.in
+++ b/solenv/flatpak-manifest.in
@@ -159,13 +159,6 @@
"dest-filename": "@FONT_SOURCESERIF_TARBALL@"
},
{
- "url": "https://dev-www.libreoffice.org/src/@FONT_EMOJIONE_COLOR_TARBALL@",
- "sha256": "@FONT_EMOJIONE_COLOR_SHA256SUM@",
- "type": "file",
- "dest": "external/tarballs",
- "dest-filename": "@FONT_EMOJIONE_COLOR_TARBALL@"
- },
- {
"url": "https://dev-www.libreoffice.org/src/@BOOST_TARBALL@",
"sha256": "@BOOST_SHA256SUM@",
"type": "file",
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx
index 318c69ff8434..e89d5bc4f06a 100644
--- a/vcl/unx/generic/fontmanager/fontconfig.cxx
+++ b/vcl/unx/generic/fontmanager/fontconfig.cxx
@@ -1183,7 +1183,7 @@ void PrintFontManager::Substitute(vcl::font::FontSelectPattern &rPattern, OUStri
if (bMissingJustBullet)
{
assert(rPattern.maTargetName == "Amiri Quran" || rPattern.maTargetName == "David CLM" ||
- rPattern.maTargetName == "EmojiOne Color" || rPattern.maTargetName == "Frank Ruehl CLM" ||
+ rPattern.maTargetName == "Frank Ruehl CLM" ||
rPattern.maTargetName == "KacstBook" || rPattern.maTargetName == "KacstOffice" ||
rPattern.maTargetName == "Noto Sans Arabic");
// These fonts exist in "more_fonts", but have no U+00B7 MIDDLE DOT