File: 20_fix_pdf-compilation.patch

package info (click to toggle)
gnuplot 6.0.3%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,960 kB
  • sloc: ansic: 95,874; cpp: 7,199; makefile: 2,470; javascript: 2,339; sh: 1,531; lisp: 664; perl: 304; pascal: 191; tcl: 88; python: 46
file content (39 lines) | stat: -rw-r--r-- 1,477 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Description: Fix PDF compilation
Author: Anton Gladky <gladk@debian.org>
Bug-Debian: https://bugs.debian.org/1016323
Last-Update: 2022-08-19

Index: gnuplot-6.0.3/src/encoding.c
===================================================================
--- gnuplot-6.0.3.orig/src/encoding.c
+++ gnuplot-6.0.3/src/encoding.c
@@ -380,7 +380,7 @@ latex_input_encoding(enum set_encoding_i
 	break;
     case S_ENC_UTF8:
 	/* utf8x (not utf8) is needed to pick up degree and micro signs */
-	inputenc = "utf8x";
+	inputenc = "utf8";
 	break;
     case S_ENC_INVALID:
 	int_error(NO_CARET, "invalid input encoding used");
Index: gnuplot-6.0.3/docs/gnuplot.doc
===================================================================
--- gnuplot-6.0.3.orig/docs/gnuplot.doc
+++ gnuplot-6.0.3/docs/gnuplot.doc
@@ -6072,7 +6072,6 @@ Ffigure_labels2
  one of them to each point in a plot based on the value in data column 3:
 
    set encoding utf8
-   symbol(z) = "∙□+⊙♠♣♡♢"[int(z):int(z)]
    splot 'file' using 1:2:(symbol($3)) with labels
 
  This example shows use of labels with variable rotation angle in column 4 and
@@ -13709,7 +13708,7 @@ Ffigure_multiple_keys
  generate axis tic labels. The C library routine always use a hyphen character
  (ascii \055) to indicate a negative number, as in -7.  Many people prefer a
  different typographic minus sign character (unicode U+2212) for this purpose,
- as in −7.  The command
+ as in 7.  The command
 
       set minussign