File: use_outside_font.patch

package info (click to toggle)
scilab 2024.1.0%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 381,880 kB
  • sloc: xml: 765,066; ansic: 285,813; cpp: 264,881; java: 172,629; fortran: 91,526; ml: 23,103; tcl: 16,853; makefile: 9,722; sh: 7,027; f90: 6,437; lex: 1,656; perl: 1,566; yacc: 1,308; php: 690; cs: 613; javascript: 50
file content (26 lines) | stat: -rw-r--r-- 1,061 bytes parent folder | download | duplicates (4)
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
Description: find the font in another package instead of shipping a copy
Author: Julien Puydt
Forwarded: Debian-specific

--- scilab.orig/scilab/modules/graphics/tests/unit_tests/xlfont.dia.ref
+++ scilab/scilab/modules/graphics/tests/unit_tests/xlfont.dia.ref
@@ -32,7 +32,7 @@
 "תוכנית"];
 fontpath = SCI + "/modules/graphics/tests/unit_tests";
 fontname = "DejaVuSansMono.ttf";
-fontfull = fontpath + filesep() + fontname;
+fontfull = "/usr/share/fonts/truetype/dejavu/" + fontname;
 for i = 1 : size(tab_ref,'*')
   pathtemp = TMPDIR + filesep() + 'dir_' + tab_ref(i);
   fonttemp = pathtemp + filesep() + fontname;
--- scilab.orig/scilab/modules/graphics/tests/unit_tests/xlfont.tst
+++ scilab/scilab/modules/graphics/tests/unit_tests/xlfont.tst
@@ -47,7 +47,7 @@
 
 fontpath = SCI + "/modules/graphics/tests/unit_tests";
 fontname = "DejaVuSansMono.ttf";
-fontfull = fontpath + filesep() + fontname;
+fontfull = "/usr/share/fonts/truetype/dejavu/" + fontname;
 
 for i = 1 : size(tab_ref,'*')
   pathtemp = TMPDIR + filesep() + 'dir_' + tab_ref(i);