summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Kuzminsky <seb@highlab.com>2016-02-28 22:24:09 -0700
committerSebastian Kuzminsky <seb@highlab.com>2016-03-28 21:55:19 -0600
commit1d78ebaf9b518d96230ae19c958aedf8873a31f6 (patch)
tree27078a0d3589b72ec4cb75d9df129db54a82dbfb
parenta9737066a11cbd137c5d370cc66e1c21b5d107f4 (diff)
switch to a free font for the manual
This switches the manual's font from luximono (which is non-free, and not available in Debian) to libertine.
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/switch-to-free-font.patch67
2 files changed, 68 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series
index 0c249a07..964a4a7f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
03_notruntests.patch
05_abc_executable.patch
spelling-fixes.patch
+switch-to-free-font.patch
diff --git a/debian/patches/switch-to-free-font.patch b/debian/patches/switch-to-free-font.patch
new file mode 100644
index 00000000..f7a539d4
--- /dev/null
+++ b/debian/patches/switch-to-free-font.patch
@@ -0,0 +1,67 @@
+Description: Switch the yosys manual font from luximono (non-free) to libertine (free)
+Author: Sebastian Kuzminsky <seb@highlab.com>
+Index: yosys/manual/APPNOTE_010_Verilog_to_BLIF.tex
+===================================================================
+--- yosys.orig/manual/APPNOTE_010_Verilog_to_BLIF.tex 2016-02-28 22:17:25.000000000 -0700
++++ yosys/manual/APPNOTE_010_Verilog_to_BLIF.tex 2016-02-28 22:23:10.302328932 -0700
+@@ -4,7 +4,7 @@
+ \documentclass[9pt,technote,a4paper]{IEEEtran}
+
+ \usepackage[T1]{fontenc} % required for luximono!
+-\usepackage[scaled=0.8]{luximono} % typewriter font with bold face
++\usepackage[scaled=0.8]{libertine} % typewriter font with bold face
+
+ % To install the luximono font files:
+ % getnonfreefonts-sys --all or
+Index: yosys/manual/APPNOTE_011_Design_Investigation.tex
+===================================================================
+--- yosys.orig/manual/APPNOTE_011_Design_Investigation.tex 2016-02-28 22:17:25.000000000 -0700
++++ yosys/manual/APPNOTE_011_Design_Investigation.tex 2016-02-28 22:23:10.302328932 -0700
+@@ -4,7 +4,7 @@
+ \documentclass[9pt,technote,a4paper]{IEEEtran}
+
+ \usepackage[T1]{fontenc} % required for luximono!
+-\usepackage[scaled=0.8]{luximono} % typewriter font with bold face
++\usepackage[scaled=0.8]{libertine} % typewriter font with bold face
+
+ % To install the luximono font files:
+ % getnonfreefonts-sys --all or
+Index: yosys/manual/APPNOTE_012_Verilog_to_BTOR.tex
+===================================================================
+--- yosys.orig/manual/APPNOTE_012_Verilog_to_BTOR.tex 2016-02-28 22:17:25.000000000 -0700
++++ yosys/manual/APPNOTE_012_Verilog_to_BTOR.tex 2016-02-28 22:23:10.302328932 -0700
+@@ -4,7 +4,7 @@
+ \documentclass[9pt,technote,a4paper]{IEEEtran}
+
+ \usepackage[T1]{fontenc} % required for luximono!
+-\usepackage[scaled=0.8]{luximono} % typewriter font with bold face
++\usepackage[scaled=0.8]{libertine} % typewriter font with bold face
+
+ % To install the luximono font files:
+ % getnonfreefonts-sys --all or
+Index: yosys/manual/manual.tex
+===================================================================
+--- yosys.orig/manual/manual.tex 2016-02-28 22:17:25.000000000 -0700
++++ yosys/manual/manual.tex 2016-02-28 22:23:10.306328895 -0700
+@@ -2,7 +2,7 @@
+
+ \usepackage[T1]{fontenc} % required for luximono!
+ \usepackage{lmodern}
+-\usepackage[scaled=0.8]{luximono} % typewriter font with bold face
++\usepackage[scaled=0.8]{libertine} % typewriter font with bold face
+
+ % To install the luximono font files:
+ % getnonfreefonts-sys --all or
+Index: yosys/manual/presentation.tex
+===================================================================
+--- yosys.orig/manual/presentation.tex 2016-02-28 22:19:51.000000000 -0700
++++ yosys/manual/presentation.tex 2016-02-28 22:23:10.306328895 -0700
+@@ -3,7 +3,7 @@
+
+ \usepackage[T1]{fontenc} % required for luximono!
+ \usepackage{lmodern}
+-\usepackage[scaled=0.8]{luximono} % typewriter font with bold face
++\usepackage[scaled=0.8]{libertine} % typewriter font with bold face
+
+ % To install the luximono font files:
+ % getnonfreefonts-sys --all or