Browse Source

some updates on fonts etc.

pre-master-46
Holger Vogt 6 years ago
parent
commit
88a3e564f9
  1. 6
      examples/utf-8/стекло/있어요/ext-utf8-2-있어요.cir
  2. 49
      examples/utf-8/стекло/있어요/ext-utf8-2.cir
  3. 59
      examples/utf-8/стекло/있어요/ext-utf8-3.cir

6
examples/utf-8/стекло/있어요/ext-utf8-2-있어요.cir

@ -2,7 +2,7 @@
.control
set hcopydevtype = postscript
set hcopypscolor=1
set hcopyscale=0.5
set hcopyscale=1
set color2=rgb:F/0/0
*setcs hcopyfont=Arial
*
@ -33,9 +33,9 @@ plot y vs x+0.001 xlabel 'Labellisé X' ylabel ' أنا قادر على أكل
hardcopy plot_5.ps y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré Äü @µ€~'
* for MS Windows only
*shell Start /B plot_5.ps
shell Start /B plot_5.ps
* for CYGWIN
shell xterm -e gs plot_5.ps &
*shell xterm -e gs plot_5.ps &
echo 些 𣎏 世 咹 水 晶 𦓡 空 𣎏 害 咦
echo אני יכול לאכול זכוכית וזה לא מזיק לי.

49
examples/utf-8/стекло/있어요/ext-utf8-2.cir

@ -1,46 +1,63 @@
* test de titré
* utf-8 UNICODE tests
* text snippets are from http://kermitproject.org/utf8.html
* English translation: I can eat glass and it doesn't hurt me.
.control
set hcopydevtype = postscript
set hcopypscolor=1
set hcopyscale=0.5
set hcopypscolor=0
set hcopypstxcolor=1
set hcopyscale=1
set color2=rgb:F/0/0
*setcs hcopyfont=Arial
*
*setcs hcopyfont='Nimbus Mono-Regular'
* for CYGWIN
setcs hcopyfont='NimbusMonL-Bold'
*setcs hcopyfont='URWGothicL-Book'
set hcopyfontsize=14
* for CYGWIN
setcs xfont='Noto Sans CJK JP Medium'
set xfont_size=18
*setcs xfont='Noto Sans Japanese'
* the data to be plotted
let x = vector(5)
let y = exp(x)
* MS Windows
setcs wfont='Arial'
set wfont_size=18
plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré 21'
* Linux, CYGWIN
* Use font (*.ttc) from Cygwin distribution
setcs xfont='Noto Sans CJK JP Light'
set xfont_size=16
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
*setcs xfont='Noto Sans Korean'
plot y vs x+0.001 xlabel 'Titré 私はガラスを食べられます。それは私を傷つけません' ylabel '나는 유리를 먹을 수 있어요. 그래도 아프지 않아요' title 'Titré 24 我能吞下玻璃而不伤身体。' loglog
* for CYGWIN
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é Äü @µ€~'
* https://www.fontsc.com/font/tag/arabic
setcs xfont='Lateef'
set xfont_size=22
plot y vs x+0.001 xlabel 'Labellisé X' ylabel ' أنا قادر على أكل الزجاج و هذا لا يؤلمني ' title 'Titré French Arabic 25' loglog
plot y vs x+0.001 xlabel ' أنا قادر على أكل الزجاج و هذا لا يؤلمني ' ylabel 'Jeg kan spise glas, det gør ikke ondt på mig. 26 ' title 'Titré Arabic 26' loglog
* https://www.fontsc.com/font/tag/hebrew
setcs xfont='Alef'
set xfont_size=18
plot y vs x+0.001 xlabel 'Labellisé X' ylabel ' אני יכול לאכול זכוכית וזה לא מזיק לי. ' title 'Titré French Arabic 27' loglog
plot y vs x+0.001 xlabel ' אני יכול לאכול זכוכית וזה לא מזיק לי. ' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré Arabic 28' loglog
hardcopy plot_6.ps y vs x xlabel 'Labellisé X' ylabel 'Jeg kan spise glas, det gør ikke ondt på mig.' title 'Titré Äü @µ€~'
* for MS Windows only
*shell Start /B plot_5.ps
* for CYGWIN
shell xterm -e gs plot_5.ps &
*shell xterm -e gs plot_5.ps &
shell gv plot_6.ps &
echo 些 𣎏 世 咹 水 晶 𦓡 空 𣎏 害 咦
echo אני יכול לאכול זכוכית וזה לא מזיק לי.
echo ' أنا قادر على أكل الزجاج و هذا لا يؤلمني '
*gnuplot test.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ '
gnuplot test.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ '
*quit
.endc

59
examples/utf-8/стекло/있어요/ext-utf8-3.cir

@ -1,33 +1,50 @@
* test de titré 있어요
* appologize for nonsense text
* test de titré
.control
* for CYGWIN
setcs xfont='Noto Sans CJK JP Medium'
set xfont_size=18
set hcopydevtype = postscript
set hcopypscolor=5
set hcopypstxcolor=21
set hcopyscale=1
set color2=rgb:F/0/0
setcs hcopyfont=Arial
set hcopyfontsize=18
let x = vector(5)
let y = exp(x)
setcs 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 أنا قادر على أكل الزجاج و هذا لا يؤلمني.'
plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 13 私はガラスを食べられます。それは私を傷つけません' loglog
plot y vs x+0.001 xlabel 'Titré 私はガラスを食べられます。それは私を傷つけません' ylabel 'Titré 14 나는 유리를 먹을 수 있어요. 그래도 아프지 않아요' title 'Titré 我能吞下玻璃而不伤身体。' loglog
setcs xfont='Noto Sans CJK JP Medium'
*set xfont_size=16
set gridwidth=4
set xbrushwidth=1
*hardcopy
**plot y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y: ÜüÖöÄäÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ' title 'Titré'
plot y vs x xlabel '我能吞下玻璃而不伤身体' ylabel 'Я могу есть стекло, оно мне не вредит' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ '
* With Linux the next one requires: export LC_CTYPE ="de_DE.UTF-8"
**gnuplot test.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ '
set gridwidth=1
set xbrushwidth=4
**plot y vs x+0.001 xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré 私はガラスを食べられます。それは私を傷つけません' loglog
*plot y vs x+0.001 xlabel 'Labellisé X' title 'Titré' loglog
plot y vs x xlabel '래도 아프지 않아요' ylabel '私はガラスを食べられます' title ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.'
* for CYGWIN
setcs xfont='Times New Roman'
plot y vs x+0.001 xlabel 'Labellisé X' ylabel ' أنا قادر على أكل الزجاج و هذا لا يؤلمني.' title 'Titré 15' loglog
* With Linux the next one requires: export LC_CTYPE ="de_DE.UTF-8"
**gnuplot test2.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ '
setcs sourcepath = ( 'D:/Spice_general/tests/utf-8/стекло/있어요' )
source ext-utf8-4.cir
**hardcopy plot_5.ps y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré Äü @µ€~'
*shell Start /B plot_5.ps
**shell gv plot_5.ps &
* better to put ouput into single quotes
echo 1 '私はガラスを食べられます。それは私を傷つけません'
echo 2 '나는 유리를 먹을 수 있어요. 그래도 아프지 않아요'
wrdata test.out y vs x
**asciiplot atest.out y vs x
gnuplot test.gn y vs x xlabel 'Labellisé X' ylabel '있어요 tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ '
echo 나는 유리를 먹을 수 있어요. 그래도 아프지 않아요
echo 私はガラスを食べられます。それは私を傷つけません
echo 我能吞下玻璃而不伤身体
*quit
.endc
Loading…
Cancel
Save