From 55c92d63fe7a600cd5f70c94eb84f2fa0f6a7c5e Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 7 Dec 2019 20:39:31 +0100 Subject: [PATCH] setcf -> setcs comments added --- examples/utf-8/стекло/ext-ascii-1.cir | 1 + examples/utf-8/стекло/ext-ascii-2.cir | 6 ++++-- examples/utf-8/стекло/ext-utf8-2.cir | 4 ++-- examples/utf-8/стекло/ext-utf8-cyg2.cir | 10 +++++----- examples/utf-8/стекло/있어요/adder_mos3.cir | 2 +- examples/utf-8/стекло/있어요/ext-utf8-1.cir | 14 +++++++------- .../utf-8/стекло/있어요/ext-utf8-2-있어요.cir | 18 +++++++++--------- examples/utf-8/стекло/있어요/ext-utf8-2.cir | 18 +++++++++--------- examples/utf-8/стекло/있어요/ext-utf8-3.cir | 8 ++++---- examples/utf-8/стекло/있어요/ext-utf8-4.cir | 10 +++++----- examples/utf-8/стекло/있어요/utf-8-inv.cir | 2 +- examples/utf-8/стекло/있어요/utf-8-inv_w.cir | 2 +- 12 files changed, 49 insertions(+), 46 deletions(-) diff --git a/examples/utf-8/стекло/ext-ascii-1.cir b/examples/utf-8/стекло/ext-ascii-1.cir index 72c3b45d8..677d15ff1 100644 --- a/examples/utf-8/стекло/ext-ascii-1.cir +++ b/examples/utf-8/стекло/ext-ascii-1.cir @@ -1,4 +1,5 @@ * test de titre +* file is encoded as ASCII ! .control diff --git a/examples/utf-8/стекло/ext-ascii-2.cir b/examples/utf-8/стекло/ext-ascii-2.cir index f0122d6e3..07a972dff 100644 --- a/examples/utf-8/стекло/ext-ascii-2.cir +++ b/examples/utf-8/стекло/ext-ascii-2.cir @@ -1,4 +1,6 @@ * test de titr +* file is encoded as ASCII ! +* It will fail in utf8 mode. .control set encoding=extended_ascii @@ -6,12 +8,12 @@ set hcopydevtype = postscript set hcopypscolor=1 set hcopyscale=0.5 set color2=rgb:F/0/0 -setcf hcopyfont="Garamond" +setcs hcopyfont="Garamond" set hcopyfontsize=14 let x = vector(5) let y = exp(x) -setcf wfont="Garamond Fett" +setcs wfont="Garamond Fett" set wfont_size=16 plot y vs x xlabel 'Labellis X' ylabel 'Labellis Y' title 'Titr' plot y vs x xlabel 'Labellis X' title 'Titr' diff --git a/examples/utf-8/стекло/ext-utf8-2.cir b/examples/utf-8/стекло/ext-utf8-2.cir index abaeb4d40..3ceb60ea7 100644 --- a/examples/utf-8/стекло/ext-utf8-2.cir +++ b/examples/utf-8/стекло/ext-utf8-2.cir @@ -4,12 +4,12 @@ set hcopydevtype = postscript set hcopypscolor=1 set hcopyscale=0.5 set color2=rgb:F/0/0 -setcf hcopyfont=Arial +setcs hcopyfont=Arial set hcopyfontsize=14 let x = vector(5) let y = exp(x) -setcf wfont=Arial +setcs wfont=Arial set wfont_size=18 plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré' plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу есть стекло, оно мне не вредит' title ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.' diff --git a/examples/utf-8/стекло/ext-utf8-cyg2.cir b/examples/utf-8/стекло/ext-utf8-cyg2.cir index f77a036e0..4f48b7e30 100644 --- a/examples/utf-8/стекло/ext-utf8-cyg2.cir +++ b/examples/utf-8/стекло/ext-utf8-cyg2.cir @@ -5,24 +5,24 @@ set hcopydevtype = postscript set hcopypscolor=1 set hcopyscale=0.5 set color2=rgb:F/0/0 -setcf hcopyfont=Arial +setcs hcopyfont=Arial set hcopyfontsize=14 set color0="black" set color1="white" let x = vector(5) let y = exp(x) -setcf xfont="Times New Roman" +setcs xfont="Times New Roman" set xfont_size=18 plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré' set color0="white" set color1="black" set xfont_size=16 -setcf xfont="Arial" +setcs xfont="Arial" plot y vs x xlabel 'Я могу есть стекло, оно мне не вредит' ylabel 'Я могу есть стекло, оно мне не вредит' title 'Я могу есть стекло, оно мне не вредит' set color0="yellow" set color1="red" set xfont_size=18 -setcf xfont="Noto Sans CJK JP Medium" +setcs xfont="Noto Sans CJK JP Medium" plot y vs x+0.001 xlabel 'Titré 私はガラスを食べられます。それは私を傷つけません' ylabel 'Titré 나는 유리를 먹을 수 있어요. 그래도 아프지 않아요' title 'Titré 我能吞下玻璃而不伤身体。' loglog *plot y vs x+0.001 xlabel 'Labellisé X' title 'Titré' loglog @@ -33,7 +33,7 @@ echo 나는 유리를 먹을 수 있어요. 그래도 아프지 않아요 echo 私はガラスを食べられます。それは私を傷つけません echo 我能吞下玻璃而不伤身体。 -setcf sourcepath = ( "D:/Spice_general/tests/utf-8/стекло/있어요" ) +setcs sourcepath = ( "D:/Spice_general/tests/utf-8/стекло/있어요" ) source ext-utf8-2.cir gnuplot test.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ ' diff --git a/examples/utf-8/стекло/있어요/adder_mos3.cir b/examples/utf-8/стекло/있어요/adder_mos3.cir index e84d6a57e..ed90d0d58 100644 --- a/examples/utf-8/стекло/있어요/adder_mos3.cir +++ b/examples/utf-8/стекло/있어요/adder_mos3.cir @@ -65,7 +65,7 @@ X1 1 2 3 4 5 6 7 8 9 10 11 身12 0 Я13 99 FOURBIT .control * for CYGWIN -setcf xfont='Noto Sans CJK JP Medium' +setcs xfont='Noto Sans CJK JP Medium' set xfont_size=16 if $?batchmode else diff --git a/examples/utf-8/стекло/있어요/ext-utf8-1.cir b/examples/utf-8/стекло/있어요/ext-utf8-1.cir index 47758fa65..d21144c51 100644 --- a/examples/utf-8/стекло/있어요/ext-utf8-1.cir +++ b/examples/utf-8/стекло/있어요/ext-utf8-1.cir @@ -2,14 +2,14 @@ .control * for CYGWIN -setcf xfont='Noto Sans CJK JP Medium' +setcs xfont='Noto Sans CJK JP Medium' set xfont_size=16 * for LINUX -*setcf xfont='Noto Sans Korean' +*setcs xfont='Noto Sans Korean' let x = vector(5) let y = exp(x) -setcf wfont='Arial' +setcs wfont='Arial' set wfont_size=18 plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré 11' plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу есть стекло, оно мне не вредит' title 'Titré 12 أنا قادر على أكل الزجاج و هذا لا يؤلمني.' @@ -17,15 +17,15 @@ plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 13 plot y vs x+0.001 xlabel 'Titré 私はガラスを食べられます。それは私を傷つけません' ylabel '나는 유리를 먹을 수 있어요. 그래도 아프지 않아요' title 'Titré 14 我能吞下玻璃而不伤身体。' loglog * for CYGWIN -*setcf xfont='Adobe Times' +*setcs xfont='Adobe Times' * for LINUX -setcf xfont='Efont Biwidth' +setcs xfont='Efont Biwidth' plot y vs x+0.001 xlabel 'Labellisé X' ylabel ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.' title 'Titré 15' loglog write D:/Spice_general/tests/utf-8/'стекло'/'있어요'/ext-utf8-1.out x y -setcf sourcepath = ( 'D:/Spice_general/tests/utf-8/стекло/있어요' ) -*setcf sourcepath = ( './utf-8/стекло/있어요' ) +setcs sourcepath = ( 'D:/Spice_general/tests/utf-8/стекло/있어요' ) +*setcs sourcepath = ( './utf-8/стекло/있어요' ) source ext-utf8-2.cir *source 'D:/Spice_general/tests/utf-8/стекло/있어요/ext-utf8-2.cir' diff --git a/examples/utf-8/стекло/있어요/ext-utf8-2-있어요.cir b/examples/utf-8/стекло/있어요/ext-utf8-2-있어요.cir index 00dd8d04d..de061a23c 100644 --- a/examples/utf-8/стекло/있어요/ext-utf8-2-있어요.cir +++ b/examples/utf-8/стекло/있어요/ext-utf8-2-있어요.cir @@ -4,31 +4,31 @@ set hcopydevtype = postscript set hcopypscolor=1 set hcopyscale=0.5 set color2=rgb:F/0/0 -*setcf hcopyfont=Arial +*setcs hcopyfont=Arial * -*setcf hcopyfont='Nimbus Mono-Regular' +*setcs hcopyfont='Nimbus Mono-Regular' * for CYGWIN -setcf hcopyfont='NimbusMonL-Bold' -*setcf hcopyfont='URWGothicL-Book' +setcs hcopyfont='NimbusMonL-Bold' +*setcs hcopyfont='URWGothicL-Book' set hcopyfontsize=14 * for CYGWIN -setcf xfont='Noto Sans CJK JP Medium' +setcs xfont='Noto Sans CJK JP Medium' set xfont_size=18 -*setcf xfont='Noto Sans Japanese' +*setcs xfont='Noto Sans Japanese' let x = vector(5) let y = exp(x) -setcf wfont='Arial' +setcs wfont='Arial' set wfont_size=18 plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré 21' plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу есть стекло, оно мне не вредит' title 'Titré 22 أنا قادر على أكل الزجاج و هذا لا يؤلمني.' plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 23 私はガラスを食べられます。それは私を傷つけません' loglog *LINUX -*setcf xfont='Noto Sans Korean' +*setcs xfont='Noto Sans Korean' plot y vs x+0.001 xlabel 'Titré 私はガラスを食べられます。それは私を傷つけません' ylabel '나는 유리를 먹을 수 있어요. 그래도 아프지 않아요' title 'Titré 24 我能吞下玻璃而不伤身体。' loglog * for CYGWIN -setcf xfont='Times New Roman' +setcs xfont='Times New Roman' plot y vs x+0.001 xlabel 'Labellisé X' ylabel ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.' title 'Titré 25' loglog hardcopy plot_5.ps y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré Äü @µ€~' diff --git a/examples/utf-8/стекло/있어요/ext-utf8-2.cir b/examples/utf-8/стекло/있어요/ext-utf8-2.cir index 00dd8d04d..de061a23c 100644 --- a/examples/utf-8/стекло/있어요/ext-utf8-2.cir +++ b/examples/utf-8/стекло/있어요/ext-utf8-2.cir @@ -4,31 +4,31 @@ set hcopydevtype = postscript set hcopypscolor=1 set hcopyscale=0.5 set color2=rgb:F/0/0 -*setcf hcopyfont=Arial +*setcs hcopyfont=Arial * -*setcf hcopyfont='Nimbus Mono-Regular' +*setcs hcopyfont='Nimbus Mono-Regular' * for CYGWIN -setcf hcopyfont='NimbusMonL-Bold' -*setcf hcopyfont='URWGothicL-Book' +setcs hcopyfont='NimbusMonL-Bold' +*setcs hcopyfont='URWGothicL-Book' set hcopyfontsize=14 * for CYGWIN -setcf xfont='Noto Sans CJK JP Medium' +setcs xfont='Noto Sans CJK JP Medium' set xfont_size=18 -*setcf xfont='Noto Sans Japanese' +*setcs xfont='Noto Sans Japanese' let x = vector(5) let y = exp(x) -setcf wfont='Arial' +setcs wfont='Arial' set wfont_size=18 plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré 21' plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу есть стекло, оно мне не вредит' title 'Titré 22 أنا قادر على أكل الزجاج و هذا لا يؤلمني.' plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 23 私はガラスを食べられます。それは私を傷つけません' loglog *LINUX -*setcf xfont='Noto Sans Korean' +*setcs xfont='Noto Sans Korean' plot y vs x+0.001 xlabel 'Titré 私はガラスを食べられます。それは私を傷つけません' ylabel '나는 유리를 먹을 수 있어요. 그래도 아프지 않아요' title 'Titré 24 我能吞下玻璃而不伤身体。' loglog * for CYGWIN -setcf xfont='Times New Roman' +setcs xfont='Times New Roman' plot y vs x+0.001 xlabel 'Labellisé X' ylabel ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.' title 'Titré 25' loglog hardcopy plot_5.ps y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré Äü @µ€~' diff --git a/examples/utf-8/стекло/있어요/ext-utf8-3.cir b/examples/utf-8/стекло/있어요/ext-utf8-3.cir index befc033ac..2595dde34 100644 --- a/examples/utf-8/стекло/있어요/ext-utf8-3.cir +++ b/examples/utf-8/стекло/있어요/ext-utf8-3.cir @@ -4,12 +4,12 @@ .control * for CYGWIN -setcf xfont='Noto Sans CJK JP Medium' +setcs xfont='Noto Sans CJK JP Medium' set xfont_size=18 let x = vector(5) let y = exp(x) -setcf wfont='Arial' +setcs wfont='Arial' set wfont_size=18 plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré 11' plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу есть стекло, оно мне не вредит' title 'Titré 12 أنا قادر على أكل الزجاج و هذا لا يؤلمني.' @@ -17,10 +17,10 @@ plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 13 plot y vs x+0.001 xlabel 'Titré 私はガラスを食べられます。それは私を傷つけません' ylabel 'Titré 14 나는 유리를 먹을 수 있어요. 그래도 아프지 않아요' title 'Titré 我能吞下玻璃而不伤身体。' loglog * for CYGWIN -setcf xfont='Times New Roman' +setcs xfont='Times New Roman' plot y vs x+0.001 xlabel 'Labellisé X' ylabel ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.' title 'Titré 15' loglog -setcf sourcepath = ( 'D:/Spice_general/tests/utf-8/стекло/있어요' ) +setcs sourcepath = ( 'D:/Spice_general/tests/utf-8/стекло/있어요' ) source ext-utf8-4.cir * better to put ouput into single quotes diff --git a/examples/utf-8/стекло/있어요/ext-utf8-4.cir b/examples/utf-8/стекло/있어요/ext-utf8-4.cir index db4c24e7c..e9b4f49e3 100644 --- a/examples/utf-8/стекло/있어요/ext-utf8-4.cir +++ b/examples/utf-8/стекло/있어요/ext-utf8-4.cir @@ -4,25 +4,25 @@ set hcopydevtype = postscript set hcopypscolor=1 set hcopyscale=0.5 set color2=rgb:F/0/0 -*setcf hcopyfont=Arial +*setcs hcopyfont=Arial * for CYGWIN -setcf hcopyfont='NimbusMono-Regular' +setcs hcopyfont='NimbusMono-Regular' set hcopyfontsize=14 * for CYGWIN -setcf xfont='Noto Sans CJK JP Medium' +setcs xfont='Noto Sans CJK JP Medium' set xfont_size=16 let x = vector(5) let y = exp(x) -setcf wfont='Arial' +setcs wfont='Arial' set wfont_size=18 plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré 21' plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу есть стекло, оно мне не вредит' title 'Titré 22 أنا قادر على أكل الزجاج و هذا لا يؤلمني.' plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 23 私はガラスを食べられます。それは私を傷つけません' loglog plot y vs x+0.001 xlabel 'Titré 私はガラスを食べられます。それは私を傷つけません' ylabel 'Titré 24 나는 유리를 먹을 수 있어요. 그래도 아프지 않아요' title 'Titré 我能吞下玻璃而不伤身体。' loglog * for CYGWIN -setcf xfont='Times New Roman' +setcs xfont='Times New Roman' plot y vs x+0.001 xlabel 'Labellisé X' ylabel ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.' title 'Titré 25' loglog hardcopy plot_5.ps y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré Äü @µ€~' diff --git a/examples/utf-8/стекло/있어요/utf-8-inv.cir b/examples/utf-8/стекло/있어요/utf-8-inv.cir index 8853bd3c1..f11d9efa9 100644 --- a/examples/utf-8/стекло/있어요/utf-8-inv.cir +++ b/examples/utf-8/стекло/있어요/utf-8-inv.cir @@ -33,7 +33,7 @@ VIN1B は2 0 DC 0 PULSE(0 3 0 5NS 5NS 30NS 100NS) .control * for CYGWIN -setcf xfont='Noto Sans CJK JP Medium' +setcs xfont='Noto Sans CJK JP Medium' set xfont_size=16 if $?batchmode else diff --git a/examples/utf-8/стекло/있어요/utf-8-inv_w.cir b/examples/utf-8/стекло/있어요/utf-8-inv_w.cir index adeccc347..1a0a1c588 100644 --- a/examples/utf-8/стекло/있어요/utf-8-inv_w.cir +++ b/examples/utf-8/стекло/있어요/utf-8-inv_w.cir @@ -33,7 +33,7 @@ VIN1B は2 0 DC 0 PULSE(0 3 0 5NS 5NS 30NS 100NS) .control * for CYGWIN -setcf xfont='Noto Sans CJK JP Medium' +setcs xfont='Noto Sans CJK JP Medium' set xfont_size=16 if $?batchmode