Skip to content

Commit

Permalink
🖋️ Use Helvetica as default font in PDF configuration (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
coreequip authored Aug 6, 2024
1 parent caf93a5 commit 77f594f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 6 deletions.
4 changes: 2 additions & 2 deletions data/xsl/xr-pdf/lib/konstanten.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
== Schriften
=========================================================================== -->

<xsl:variable name="fontSans">SourceSerifPro</xsl:variable>
<xsl:variable name="fontSerif">SourceSerifPro</xsl:variable>
<xsl:variable name="fontSans">Helvetica</xsl:variable>
<xsl:variable name="fontSerif">Helvetica</xsl:variable>

<xsl:variable name="amount-picture" select="xrf:_('amount-format')"/>
<xsl:variable name="percentage-picture" select="xrf:_('percentage-format')"/>
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
currentVersion=0.1.6
currentVersion=0.1.7
mainClassName=io.github.easybill.xrviz.App
21 changes: 21 additions & 0 deletions helvetica-font.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Subject: [PATCH] Use Helvetica as font
---
Index: data/xsl/xr-pdf/lib/konstanten.xsl
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/data/xsl/xr-pdf/lib/konstanten.xsl b/data/xsl/xr-pdf/lib/konstanten.xsl
--- a/data/xsl/xr-pdf/lib/konstanten.xsl (revision ce7283ab21026b769fe53fc5d2022364c8412579)
+++ b/data/xsl/xr-pdf/lib/konstanten.xsl (date 1722865849651)
@@ -12,8 +12,8 @@
== Schriften
=========================================================================== -->

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

<xsl:variable name="amount-picture" select="xrf:_('amount-format')"/>
<xsl:variable name="percentage-picture" select="xrf:_('percentage-format')"/>
6 changes: 3 additions & 3 deletions version-badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 77f594f

Please sign in to comment.