GIMP kai ellhnika...

Vagelis Papadogiannakis papas at hellug.gr
Tue Nov 9 08:34:29 EET 1999


Nickos Venturas wrote:
> 
> Gia sas...!
> 
>  Na xairethsw katarxhn th lista, mia kai einai h prwth fora
> pou grafw edw. Salam, loipon, neoi mou :-)
> 
>  To problhma mou twra:
> 
>  Exw to Red Hat 6.0, kai exw sthsei TTF (true type fonts) ston
> xfs server, ka8ws kai ellhnika. Ola doylevoun kanonika stis
> efarmoges gia X, kai mporw na grapsw kai na diavasw ellhnika
> aneta.
> 
>  To problhma parousiazetai sto GIMP. Sygekrimena, to "text tool"
> doulevei kanonika,
> kai emfanizei to "Font Selection" menu ths GDK, opou epilegontas ena
> ellhniko TTF
> mporw na grapsw ellhnika.
> 
>  Otan omws 8elhsw na xrhsimopoihsw kapoio Script-Fu, opws 3erete ekei
> den yparxei
> menu epiloghs fonts, kai prepei na grapsei o xrhsths to onoma toy font
> pou 8elei.
> E, ekei den mporw na ka8orisw ellhniko encoding gia ta TTF's. Antigrafw
> to onoma
> tou font me ellhniko encoding opws to briskw apo to xfontsel h' to
> gfontsel (px:
> 
> "-monotype-times new roman-i-b-12-150-iso8859-7"
> 
> kai mou leei oti den mporei na ektelestei to script. An omws valw sketo
> to onoma
> tou font, px:
> 
> "times new roman"
> 
> to script ekteleitai kanonika, alla xwris ellhniko encoding (epomenws
> vgazei "kinezika" otan grafw ellhnika.)
> 
>  Dokimasa epishs diafores parallages, px "times new roman-iso8859-7"
> klp, alla
> den doulepse kammia. Ta FAQ kai to manual tou GIMP den lene kati
> sxetiko.
> 
>  3erei, loipon, mhpws kaneis pws mporw na ka8orisw ellhniko encoding se
> ena
> font sto script-fu? H mhpws ta script foo den yposthrizoun 8-bit
> encoding?
> To GIMP pantws, me to text tool doulevei kanonika me ta ellhnika, opote
> 8a
> eprepe to idio na symbainei kai me ta script-fu's.
> 
>  Anyway, ka8e boh8eia euprosdekth!
> 
> Nickos Venturas

Maaaalista.... Afto kai an einai problima kai i lisi pou 8a prota8ei
parakato ki an einai lisi...
KATARXAS:
  Gia na ginei afto, prepei na epembeis sta scripts. Eisai etoimos???
    AN OXI: mark this message as read kai continue sto epomeno
    AN NAI: continue
EN SINEXEIA:
  Prepei na to paikseis ligo programmatistis. Eisai etoimos???
    AN OXI: mark this message as read kai continue sto epomeno
    AN NAI: Continue

<intro>
ta perissotera script-fu (apoti eida) xrisimopoioun tin entoli
``gimp-text''. Afti einai poli ``ftiniariki'', giati den periexei
pliroforia gia to encoding. Sinepos, prepei se ola ta scripts na
antikatastiseis to ``gimp-text'' me to ``gimp-text-ext'', to opoio
mporei na dextei kai plirofories encoding.
</intro>

<main>
den einai fisika arketo, giati i ``gimp-text-ext'' lambanei dio akoma
orismata apo oti i ``gimp-text''. Afta einai:
 - registry (pou einai string)
 - encoding (episis string)
fisika, an valeis asterakia ekei, einai san na tou les ``any''.
Sinepos prepei se ola ta scripts, na oriseis afta ta extra 2 strings.
(me EDITOR, fisika)
</main>

<eg>
script-fu:Logos/3D outline, line 26: (elegkse an sto diko sou den einai
afti i grammi)
         (text-layer (car (gimp-text img -1 0 0 text 30 TRUE size PIXELS
"*" font "*" "*" "*" "*")))
na alaxtei se
         (text-layer (car (gimp-text-ext img -1 0 0 text 30 TRUE size
PIXELS "*" font "*" "*" "*" "*" "*" "iso8859-7")))
                                    
^|^                                                             
^|^      ^|^
allages-------------------------------+----------------------------------------------------------------+--------+
NA SHMEIO8EI oti den ksero an doulepsei etsi kai valeis ``*'' anti
``iso8859-7''. LOGIKA *8a* doulepsei.

  <note>
  gia na deis pu einai afto to arxeio, kane:
    rpm -ql gimp | grep 3d-outline
  </note>
</eg>

<conclusion>
APO TH MIA:
1. Den exo valei TTF server.
2. Den exo asxoli8ei me to gimp
2. Den exo asxoli8ei me scripting tou gimp
3. Den skampazo kai polla apo programmatismo
4. Den einai 100% sigouro oti 8a doulepsei, alla pistevo oti 8a
doulepsei.

APO THN ALLH:
1. Ta pira giati itan 8ema ellinikon (kai ego otan kati den ipostirizei
ellinika ta perno endokraniaka)
2. Fantastika oti den 8a itan diskolo na vro ti lisi
3. isxeiei to gnosto DISCLAIMER: Oti kaneis, to kaneis esi, kai oxi ego.
antegrapse ta kapou allou prin epembeis
</conclusion>

PS.: KANTO, kai pes mou an doulepse.

-=VAGELIS=-
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list