View previous topic :: View next topic |
Author |
Message |
Thrain Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1204037033fae60eaee7c7.jpg)
Joined: 01 Sep 2003 Posts: 380
|
Posted: Thu Apr 01, 2004 9:00 pm Post subject: Stampare con font particolari (per esempio greci) [RISOLTO] |
|
|
Ciao a tutti,
Ho scaricato e installato con kde il font greco http://www.rivistazetesis.it/Greek2.ZIP ,
che viene visualizzato perfettamente anche in Abiword, Firefox, KWrite
e anche dall'anteprima di stampa. Dopo aver scritto una frase di prova,
provo a stampare e... acci acci, invece di ritrovarmi la mia bella frase in
greco antico, me la trovo stampata con dei caratteri monospace (forse
Courier).
Come ovviare a questo strano comportamento?? Forse è un problema
della stampante che non è abilitata a stampare quel tipo di carattere? Non
credo...
Per la cronaca: è una Epson Stylus C62. Per stampare la pagina ho
printato su file da Abiword e ho stampato con kprinter il file .ps che è stato
così generato.
Grazie a tutti in anticipo! _________________ Thrain
"...only astonishment knows..."
Last edited by Thrain on Sun Apr 04, 2004 6:53 pm; edited 3 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Thrain Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1204037033fae60eaee7c7.jpg)
Joined: 01 Sep 2003 Posts: 380
|
Posted: Sat Apr 03, 2004 4:15 pm Post subject: |
|
|
Mh, o fatto alcune prove e ho lo stesso problema con qualsiasi font che non
siano i classici Times, Arial, Curier... evidentemente è un problema di
ghostscript.
Ma come faccio a impostare ghostscript in modo che trovi i font che mi
interessano? Qualche file in /etc magari?
Dai dai, è possibile che nessuno abbia avuto un problema simile!? _________________ Thrain
"...only astonishment knows..." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shev Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8449159314dcae72b62db4.jpg)
Joined: 03 Feb 2003 Posts: 4084 Location: Italy
|
Posted: Sat Apr 03, 2004 6:15 pm Post subject: |
|
|
L'unica cosa che mi viene da consigliarti è compilare ghostscript o pacchetti correlati con diverse USE flags, tipo cjk per ghostscript (ok, cjk è per caratteri coreani, giapponesi e simili, ma tentar non nuoce).
In bocca al lupo! _________________ Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tolipth Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 01 Dec 2003 Posts: 301
|
Posted: Sat Apr 03, 2004 6:37 pm Post subject: |
|
|
ciao, se invece di stampare crei un file ps i font sono giusti? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Thrain Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1204037033fae60eaee7c7.jpg)
Joined: 01 Sep 2003 Posts: 380
|
Posted: Sat Apr 03, 2004 7:13 pm Post subject: |
|
|
Code: |
L'unica cosa che mi viene da consigliarti è compilare ghostscript o pacchetti
correlati con diverse USE flags, tipo cjk per ghostscript (ok, cjk è per
caratteri coreani, giapponesi e simili, ma tentar non nuoce).
In bocca al lupo!
|
Lo farei, ma scaricare 40 mb è un po' un problema per me... e poi in
ultima analisi temo non sia nemmeno un problema di ghostscript : se
provo a lanciare il comando "gs greco.ps" da konsole, ghostscript
visualizza i font correttamente! Quindi temo che il problema sia ancora
diverso !
Code: |
se invece di stampare crei un file ps i font sono giusti?
|
Su schermo, in qualsiasi modo li visualizzi, i font appaiono correttissimi...
E se il problema fosse in cups o nei driver della stampante? _________________ Thrain
"...only astonishment knows..." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tolipth Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 01 Dec 2003 Posts: 301
|
Posted: Sat Apr 03, 2004 7:54 pm Post subject: |
|
|
una volta ottenuto il file ps, stampandolo hai ancora problemi?
Se hai ancora problemi probabilmente manca qualche pacchetto di font a gs come scritto da Shev.
ciao
PS se hai fretta puoi trasformare il file ps in una immagine e poi stamparla |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Thrain Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1204037033fae60eaee7c7.jpg)
Joined: 01 Sep 2003 Posts: 380
|
Posted: Sun Apr 04, 2004 11:31 am Post subject: |
|
|
Proverò allora a installare ghostscript con la use-flag cjk ... spero funzioni!
Tuttavia nutro seri dubbi... non vi pare strano che perfino gs, sullo schermo,
visualizzi correttamente i font?
Un'altra domanda... il comando:
Code: |
gs -sDEVICE=epson greco.ps
|
non dovrebbe stampare il file? Invece scrive strani errori sullo schermo:
Code: |
Loading Greek2bis font from /home/emanuele/.fonts/Greek2b.ttf... 2072288 665400 1815116 517948 0 done.
Error: /invalidfileaccess in --.outputpage--
Operand stack:
1 true
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 0 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1049/1417(ro)(G)-- --dict:0/20(G)-- --dict:88/200(L)--
Current allocation mode is local
Current file position is 5873
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
|
Oppure che comando dovrei usare per stamparlo direttamente da gs senza
passare per kprinter?
Chissà se ce la farò ... _________________ Thrain
"...only astonishment knows..." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shev Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8449159314dcae72b62db4.jpg)
Joined: 03 Feb 2003 Posts: 4084 Location: Italy
|
Posted: Sun Apr 04, 2004 1:58 pm Post subject: |
|
|
Thrain wrote: | Chissà se ce la farò ... |
Puoi provare al chiedere sul forum greco o provare a sentire bld che se non erro è greco. Sicuramente ne sapranno più di noi sui font greci ![Wink ;)](images/smiles/icon_wink.gif) _________________ Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Thrain Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1204037033fae60eaee7c7.jpg)
Joined: 01 Sep 2003 Posts: 380
|
Posted: Sun Apr 04, 2004 2:21 pm Post subject: |
|
|
OK, postato sul forum greco... speriam bene ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ Thrain
"...only astonishment knows..." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Thrain Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1204037033fae60eaee7c7.jpg)
Joined: 01 Sep 2003 Posts: 380
|
Posted: Sun Apr 04, 2004 5:16 pm Post subject: |
|
|
Non so se ridere o piangere...
... ho scoperto OR ORA che:
1- SE provo a stampare da abiword con font greci, la stampa, come al solito, NON riesce correttamente.
2- SE provo a stampare da abiword su file .ps con font greci, la stampa, come al solito, NON riesce correttamente.
3- SE provo a stampare da kwrite con font greci, la stampa, miracolosamente, RIESCE correttamente!!!
Come può succedere una cosa simile? Perchè se stampo con kwrite
riesce, mentre un file .ps non viene stampato coi font giusti, nè tantomeno un
file .doc o .abw??
Boh... _________________ Thrain
"...only astonishment knows..." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Thrain Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1204037033fae60eaee7c7.jpg)
Joined: 01 Sep 2003 Posts: 380
|
Posted: Sun Apr 04, 2004 6:58 pm Post subject: |
|
|
Code: |
Non so se ridere o piangere...
|
RIDO !
Diamine, tre giorni sprecati a capire quel che succedeva: ghostscript qui,
ghostscript là... e alla fine il problema era solo ed esclusivamente di Abiword!
Praticamente Abiword genera un file .ps errato, o che comunque kprinter non
riesce a gestire correttamente: usando kwrite e altri programmi la stampante
lavora perfettamente!
Cosicchè, signori... risolto anche questo inghippo !
Grazie a tutti
PS: Non ho mai apprezzato così tanto una pagina scritta in greco ... _________________ Thrain
"...only astonishment knows..." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|