Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🖋️ Use Helvetica as default font in PDF configuration #10

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading