Skip to content

Commit 77f594f

Browse files
authored
🖋️ Use Helvetica as default font in PDF configuration (#10)
1 parent caf93a5 commit 77f594f

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

data/xsl/xr-pdf/lib/konstanten.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
== Schriften
1313
=========================================================================== -->
1414

15-
<xsl:variable name="fontSans">SourceSerifPro</xsl:variable>
16-
<xsl:variable name="fontSerif">SourceSerifPro</xsl:variable>
15+
<xsl:variable name="fontSans">Helvetica</xsl:variable>
16+
<xsl:variable name="fontSerif">Helvetica</xsl:variable>
1717

1818
<xsl:variable name="amount-picture" select="xrf:_('amount-format')"/>
1919
<xsl:variable name="percentage-picture" select="xrf:_('percentage-format')"/>

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
currentVersion=0.1.6
1+
currentVersion=0.1.7
22
mainClassName=io.github.easybill.xrviz.App

helvetica-font.patch

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Subject: [PATCH] Use Helvetica as font
2+
---
3+
Index: data/xsl/xr-pdf/lib/konstanten.xsl
4+
IDEA additional info:
5+
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
6+
<+>UTF-8
7+
===================================================================
8+
diff --git a/data/xsl/xr-pdf/lib/konstanten.xsl b/data/xsl/xr-pdf/lib/konstanten.xsl
9+
--- a/data/xsl/xr-pdf/lib/konstanten.xsl (revision ce7283ab21026b769fe53fc5d2022364c8412579)
10+
+++ b/data/xsl/xr-pdf/lib/konstanten.xsl (date 1722865849651)
11+
@@ -12,8 +12,8 @@
12+
== Schriften
13+
=========================================================================== -->
14+
15+
- <xsl:variable name="fontSans">SourceSerifPro</xsl:variable>
16+
- <xsl:variable name="fontSerif">SourceSerifPro</xsl:variable>
17+
+ <xsl:variable name="fontSans">Helvetica</xsl:variable>
18+
+ <xsl:variable name="fontSerif">Helvetica</xsl:variable>
19+
20+
<xsl:variable name="amount-picture" select="xrf:_('amount-format')"/>
21+
<xsl:variable name="percentage-picture" select="xrf:_('percentage-format')"/>

version-badge.svg

Lines changed: 3 additions & 3 deletions
Loading

0 commit comments

Comments
 (0)