git: c2417c70a783 - main - editors/libreoffice: use non-expired Gentium font
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Oct 2025 11:51:14 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c2417c70a783105d5dca21cd6369d8e4401ba623
commit c2417c70a783105d5dca21cd6369d8e4401ba623
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2025-10-20 11:50:42 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2025-10-20 11:50:42 +0000
editors/libreoffice: use non-expired Gentium font
PR: 289341
---
editors/libreoffice/Makefile | 4 ++--
.../files/patch-vcl_qa_cppunit_pdfexport_pdfexport.cxx | 11 +++++++++++
editors/libreoffice/files/pathc-vcl_workben_vcldemo.cxx | 11 +++++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index bbbcee8b2708..093d11fc5ff7 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION= 2
+PORTREVISION= 3
.include "${.CURDIR}/Makefile.common"
@@ -102,7 +102,7 @@ RUN_DEPENDS= xdg-open:devel/xdg-utils \
${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \
${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu \
${LOCALBASE}/share/fonts/twemoji-color-font-ttf/TwitterColorEmoji-SVGinOT.ttf:x11-fonts/twemoji-color-font-ttf \
- ${LOCALBASE}/share/fonts/GentiumBasic/GenBasI.ttf:x11-fonts/gentium-basic \
+ ${LOCALBASE}/share/fonts/Gentium/Gentium-Bold.ttf:x11-fonts/gentium \
${LOCALBASE}/share/fonts/Liberation/LiberationMono-Bold.ttf:x11-fonts/liberation-fonts-ttf \
${LOCALBASE}/share/fonts/LinLibertineG/LinLibertine_DR_G.ttf:x11-fonts/linuxlibertine-g
diff --git a/editors/libreoffice/files/patch-vcl_qa_cppunit_pdfexport_pdfexport.cxx b/editors/libreoffice/files/patch-vcl_qa_cppunit_pdfexport_pdfexport.cxx
new file mode 100644
index 000000000000..a001b210c9c4
--- /dev/null
+++ b/editors/libreoffice/files/patch-vcl_qa_cppunit_pdfexport_pdfexport.cxx
@@ -0,0 +1,11 @@
+--- vcl/qa/cppunit/pdfexport/pdfexport.cxx.orig 2025-10-01 11:38:12 UTC
++++ vcl/qa/cppunit/pdfexport/pdfexport.cxx
+@@ -1821,7 +1821,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest, testTdf66597_3)
+ auto pName
+ = dynamic_cast<vcl::filter::PDFNameElement*>(pObject->Lookup("BaseFont"_ostr));
+ auto aName = pName->GetValue().copy(7); // skip the subset id
+- CPPUNIT_ASSERT_EQUAL_MESSAGE("Unexpected font name", "GentiumBasic"_ostr, aName);
++ CPPUNIT_ASSERT_EQUAL_MESSAGE("Unexpected font name", "Gentium"_ostr, aName);
+
+ auto pToUnicodeRef = dynamic_cast<vcl::filter::PDFReferenceElement*>(
+ pObject->Lookup("ToUnicode"_ostr));
diff --git a/editors/libreoffice/files/pathc-vcl_workben_vcldemo.cxx b/editors/libreoffice/files/pathc-vcl_workben_vcldemo.cxx
new file mode 100644
index 000000000000..4a20c9046b5c
--- /dev/null
+++ b/editors/libreoffice/files/pathc-vcl_workben_vcldemo.cxx
@@ -0,0 +1,11 @@
+--- vcl/workben/vcldemo.cxx.orig 2025-10-01 11:38:12 UTC
++++ vcl/workben/vcldemo.cxx
+@@ -507,7 +507,7 @@ class DemoRenderer (public)
+
+ // tdf#95222 - justification issue
+ // - FIXME: replicate justification
+- SET("gentium basic", pJustification),
++ SET("gentium", pJustification),
+
+ // tdf#97319 - Unicode beyond BMP; SMP & Plane 2
+ SET("symbola", pEmojis),