Προς το περιεχόμενο

Slack 10 + Greek.. HELP!


necronio

Προτεινόμενες αναρτήσεις

Δημοσ.

Panta to na balo ellinika sto linux ( sto slackware kalitera..) itan mia diskoli ipo8esi.. sto 9 pou eixa to eixa ftiaxei peripou stin tixi. Ligo apo to ena site, ligo apo to allo.. Telika ta eixa balei.

Alla tora sto Slackware 10 deen mpainei..

:(

Kapia selida pou elege pos na ta balo itan sta ellinika kai opos katalabainete DEN mporusa na tin diabaso gia na kano oti elege.. Etsi ena filaraki mou tin ekane se greeklish kai arxisa tin diadikasiaaaaaaaaa....

Prota elege gia to xfntgr.. Ekana oti itan aparaitito s'afto..

Meta eprepe na kano install tis TrueType grammatoseires pou gia na tis balo prepei prota leei na kano install to ttmkfdir to opio gia na ginei install i8ele kai afto me ti seira tou (:P) to freetype-1-kati.

Stin arxi ego ekana install to freetype2-kati mias pou to brika pio neo.. mpike ola ok.. kai meta piga gia to ttmkfdir to opio omos elege :

 

root@localhost:/home/amalia/Greek/ttmkfdir# make

gcc -Wall -pedantic -I../freetype-1.1/lib -c -o ttmkfdir.o ttmkfdir.c

ttmkfdir.c:64:22: freetype.h: No such file or directory

ttmkfdir.c:100: warning: type defaults to `int' in declaration of `TT_Char'

ttmkfdir.c:100: error: parse error before "orig_code"

ttmkfdir.c:101: error: parse error before "face"

ttmkfdir.c:108: error: parse error before "TT_Face_Properties"

ttmkfdir.c:112: error: parse error before '*' token

ttmkfdir.c:113: error: parse error before "TT_Face_Properties"

ttmkfdir.c:114: error: parse error before "TT_Face_Properties"

ttmkfdir.c: In function `main':

ttmkfdir.c:650: error: `TT_Error' undeclared (first use in this function)

ttmkfdir.c:650: error: (Each undeclared identifier is reported only once

ttmkfdir.c:650: error: for each function it appears in.)

ttmkfdir.c:650: error: parse error before "fterror"

ttmkfdir.c:651: error: `TT_Engine' undeclared (first use in this function)

ttmkfdir.c:664: error: `fterror' undeclared (first use in this function)

ttmkfdir.c:664: warning: implicit declaration of function `TT_Init_FreeType'

ttmkfdir.c:664: error: `engine' undeclared (first use in this function)

ttmkfdir.c:666: error: `TT_Err_Ok' undeclared (first use in this function)

ttmkfdir.c:679: error: `TT_Face' undeclared (first use in this function)

ttmkfdir.c:679: error: parse error before "face"

ttmkfdir.c:680: error: `TT_Face_Properties' undeclared (first use in this function)

ttmkfdir.c:703: warning: implicit declaration of function `TT_Open_Face'

ttmkfdir.c:703: error: `face' undeclared (first use in this function)

ttmkfdir.c:712: warning: implicit declaration of function `TT_Get_Face_Properties'

ttmkfdir.c:712: error: `properties' undeclared (first use in this function)

ttmkfdir.c:725: error: `TT_UShort' undeclared (first use in this function)

ttmkfdir.c:725: error: parse error before "platform"

ttmkfdir.c:728: warning: implicit declaration of function `TT_Get_CharMap_ID'

ttmkfdir.c:728: error: `platform' undeclared (first use in this function)

ttmkfdir.c:728: error: `encoding' undeclared (first use in this function)

ttmkfdir.c:730: error: `TT_PLATFORM_MICROSOFT' undeclared (first use in this function)

ttmkfdir.c:732: error: `TT_MS_ID_UNICODE_CS' undeclared (first use in this function)

ttmkfdir.c:734: error: `TT_CharMap' undeclared (first use in this function)

ttmkfdir.c:734: error: parse error before "cmap"

ttmkfdir.c:762: warning: implicit declaration of function `TT_Get_CharMap'

ttmkfdir.c:762: error: `cmap' undeclared (first use in this function)

ttmkfdir.c:775: error: `TT_MS_ID_SJIS' undeclared (first use in this function)

ttmkfdir.c:783: error: `TT_MS_ID_GB2312' undeclared (first use in this function)

ttmkfdir.c:789: error: `TT_MS_ID_BIG_5' undeclared (first use in this function)

ttmkfdir.c:795: error: `TT_MS_ID_WANSUNG' undeclared (first use in this function)

ttmkfdir.c:801: error: `TT_MS_ID_JOHAB' undeclared (first use in this function)

ttmkfdir.c:807: error: `TT_MS_ID_SYMBOL_CS' undeclared (first use in this function)

ttmkfdir.c:824: warning: implicit declaration of function `TT_Close_Face'

ttmkfdir.c:840: warning: implicit declaration of function `TT_Done_FreeType'

ttmkfdir.c: At top level:

ttmkfdir.c:927: warning: type defaults to `int' in declaration of `TT_Char'

ttmkfdir.c:927: error: parse error before "orig_code"

ttmkfdir.c: In function `get_foundry':

ttmkfdir.c:1126: error: `orig_code' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1143: error: parse error before "face"

ttmkfdir.c: In function `do_get_name':

ttmkfdir.c:1146: error: `TT_UShort' undeclared (first use in this function)

ttmkfdir.c:1146: error: parse error before "string_len"

ttmkfdir.c:1152: warning: implicit declaration of function `TT_Get_Name_String'

ttmkfdir.c:1152: error: `face' undeclared (first use in this function)

ttmkfdir.c:1152: error: `idx' undeclared (first use in this function)

ttmkfdir.c:1152: error: `string_len' undeclared (first use in this function)

ttmkfdir.c:1154: error: `unicode' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1177: error: parse error before "platform"

ttmkfdir.c: In function `isMacEnglish':

ttmkfdir.c:1179: error: `platform' undeclared (first use in this function)

ttmkfdir.c:1179: error: `TT_PLATFORM_MACINTOSH' undeclared (first use in this function)

ttmkfdir.c:1180: error: `encoding' undeclared (first use in this function)

ttmkfdir.c:1180: error: `TT_MAC_ID_ROMAN' undeclared (first use in this function)

ttmkfdir.c:1181: error: `language' undeclared (first use in this function)

ttmkfdir.c:1181: error: `TT_MAC_LANGID_ENGLISH' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1185: error: parse error before "platform"

ttmkfdir.c: In function `isUnicodeEnglish':

ttmkfdir.c:1187: error: `platform' undeclared (first use in this function)

ttmkfdir.c:1187: error: `TT_PLATFORM_MICROSOFT' undeclared (first use in this function)

ttmkfdir.c:1188: error: `encoding' undeclared (first use in this function)

ttmkfdir.c:1188: error: `TT_MS_ID_UNICODE_CS' undeclared (first use in this function)

ttmkfdir.c:1188: error: `TT_MS_ID_SYMBOL_CS' undeclared (first use in this function)

ttmkfdir.c:1189: error: `language' undeclared (first use in this function)

ttmkfdir.c:1189: error: `TT_MS_LANGID_ENGLISH_UNITED_STATES' undeclared (first use in this function)

ttmkfdir.c:1190: error: `TT_MS_LANGID_ENGLISH_UNITED_KINGDOM' undeclared (first use in this function)

ttmkfdir.c:1191: error: `TT_MS_LANGID_ENGLISH_AUSTRALIA' undeclared (first use in this function)

ttmkfdir.c:1192: error: `TT_MS_LANGID_ENGLISH_CANADA' undeclared (first use in this function)

ttmkfdir.c:1193: error: `TT_MS_LANGID_ENGLISH_NEW_ZEALAND' undeclared (first use in this function)

ttmkfdir.c:1194: error: `TT_MS_LANGID_ENGLISH_IRELAND' undeclared (first use in this function)

ttmkfdir.c:1195: error: `TT_MS_LANGID_ENGLISH_SOUTH_AFRICA' undeclared (first use in this function)

ttmkfdir.c:1196: error: `TT_MS_LANGID_ENGLISH_JAMAICA' undeclared (first use in this function)

ttmkfdir.c:1197: error: `TT_MS_LANGID_ENGLISH_CARIBBEAN' undeclared (first use in this function)

ttmkfdir.c:1198: error: `TT_MS_LANGID_ENGLISH_BELIZE' undeclared (first use in this function)

ttmkfdir.c:1199: error: `TT_MS_LANGID_ENGLISH_TRINIDAD' undeclared (first use in this function)

ttmkfdir.c:1200: error: `TT_MS_LANGID_ENGLISH_ZIMBABWE' undeclared (first use in this function)

ttmkfdir.c:1201: error: `TT_MS_LANGID_ENGLISH_PHILIPPINES' undeclared (first use in this function)

ttmkfdir.c:1202: error: `TT_PLATFORM_APPLE_UNICODE' undeclared (first use in this function)

ttmkfdir.c:1203: error: `TT_MAC_LANGID_ENGLISH' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1214: error: parse error before "face"

ttmkfdir.c: In function `get_name':

ttmkfdir.c:1220: error: `TT_UShort' undeclared (first use in this function)

ttmkfdir.c:1220: error: parse error before "platform"

ttmkfdir.c:1227: warning: implicit declaration of function `TT_Get_Name_Count'

ttmkfdir.c:1227: error: `face' undeclared (first use in this function)

ttmkfdir.c:1233: warning: implicit declaration of function `TT_Get_Name_ID'

ttmkfdir.c:1233: error: `platform' undeclared (first use in this function)

ttmkfdir.c:1233: error: `encoding' undeclared (first use in this function)

ttmkfdir.c:1233: error: `language' undeclared (first use in this function)

ttmkfdir.c:1233: error: `NameId' undeclared (first use in this function)

ttmkfdir.c:1235: error: `TT_NAME_ID_FONT_FAMILY' undeclared (first use in this function)

ttmkfdir.c:1235: error: `TT_NAME_ID_PS_NAME' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1260: error: parse error before "TT_Face_Properties"

ttmkfdir.c: In function `add_mapping':

ttmkfdir.c:1275: error: `listhead' undeclared (first use in this function)

ttmkfdir.c:1286: error: `encodingscheme' undeclared (first use in this function)

ttmkfdir.c:1293: error: `properties' undeclared (first use in this function)

ttmkfdir.c:1298: error: `file_name' undeclared (first use in this function)

ttmkfdir.c:1299: error: `foundry_name' undeclared (first use in this function)

ttmkfdir.c:1300: error: `font_name' undeclared (first use in this function)

ttmkfdir.c:1301: error: `weight_name' undeclared (first use in this function)

ttmkfdir.c:1303: error: `widht_name' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1311: error: parse error before '*' token

ttmkfdir.c: In function `has_8bit_encoding':

ttmkfdir.c:1317: error: `table' undeclared (first use in this function)

ttmkfdir.c:1320: warning: implicit declaration of function `TT_Char_Index'

ttmkfdir.c:1320: error: `cmap' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1329: error: parse error before '*' token

ttmkfdir.c: In function `panose_get_weight':

ttmkfdir.c:1346: error: `panose' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1361: error: parse error before "usWeightClass"

ttmkfdir.c: In function `os2_get_weight':

ttmkfdir.c:1363: error: `usWeightClass' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1379: error: parse error before "TT_Face_Properties"

ttmkfdir.c: In function `get_weight':

ttmkfdir.c:1383: error: `properties' undeclared (first use in this function)

ttmkfdir.c:1390: error: `name' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1398: error: parse error before '*' token

ttmkfdir.c: In function `panose_get_width_name':

ttmkfdir.c:1426: error: `panose' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1446: error: parse error before "usWidthClass"

ttmkfdir.c: In function `os2_get_width_name':

ttmkfdir.c:1448: error: `usWidthClass' undeclared (first use in this function)

ttmkfdir.c: At top level:

ttmkfdir.c:1464: error: parse error before "TT_Face_Properties"

ttmkfdir.c: In function `get_width_name':

ttmkfdir.c:1468: error: `properties' undeclared (first use in this function)

ttmkfdir.c:1475: error: `name' undeclared (first use in this function)

make: *** [ttmkfdir.o] Error 1

 

 

(sas kourasa idi mporo na fadasto e? .. :/ )

 

efoson den mpike eipa mpas kai i8ele telika na tu balo to freetype-1-kati.. Piga na to balo.. mpaaaaa kai aftooooo.. :

.........

end -g -O2 -Wall -pedantic -ansi -DX11 -DLOCALEDIR='"/usr/local/share/locale"' ftdump.c

ftdump.c:172:29: pasting "." and "glyph_object" does not give a valid preprocessing token

ftdump.c:182:31: pasting "." and "first_instance" does not give a valid preprocessing token

ftdump.c:191:32: pasting "." and "second_instance" does not give a valid preprocessing token

ftdump.c:201:62: pasting "." and "face_object" does not give a valid preprocessing token

ftdump.c:202:62: pasting "." and "glyph_object" does not give a valid preprocessing token

ftdump.c:203:62: pasting "." and "second_instance" does not give a valid preprocessing token

ftdump.c:863:33: pasting "." and "initial_overhead" does not give a valid preprocessing token

ftdump.c:882:28: pasting "." and "face_object" does not give a valid preprocessing token

make[1]: *** [ftdump.o] Error 1

make[1]: Leaving directory `/home/amalia/Greek/freetype-1.3.1/test'

make: *** [tttest] Error 2

 

GRRRRRRRRRRR!!!!!!!!

Tespa. Mesa ston fakelo tmkfdir ipirxe ena ektelesimo: tmkfdir.linuxbin.glibc2. Eipa mpas kai to xrisimopiiso xoris na exo kanei install to tmlfdir kanonikaaa...

Opote ekana me ti boi8eia aftu tou ektelesimou tin entoli ttmkfdir -o fonts.dir kai ttmkfdir -o fonts.scale (pou sigkekrimena eginan ./tmkfdir.linuxbin.glibc2 -o fonts.dir klp sto fakelo /usr/X11R6/lib/X11/fonts/ttf)

 

Kai stis 2 entoles mou evgale:

unknown font foundry code PFED

unknown font foundry code PFED

unknown font foundry code PFED

unknown font foundry code PFED

unknown font foundry code PFED

unknown font foundry code PFED

unknown font foundry code PFED

unknown font foundry code PFED

unknown font foundry code PFED

unknown font foundry code PFED

unknown font foundry code PFED

unknown font foundry code PFED

 

alla ta arxeia ta dimiourgise (tora den xero an ta dimiourgise sosta :P)

 

Mexri ekei ta probs.. apo kei kai pera ta epomena bimata (edit to xorg.conf klp) eginan xoris probs alla me apotelesma na min mporo na do kai na grapso ellinika opos akribos kai prin oli afti ti diadikasia..

Idi sas kourasa ARKETA opote an 8elete mporo na sas po ti ekana meta apo afta an xreiastei..

 

Afta pros to paron..

PLEASE help!Eimai etoimi na ta spaso ola...

:(

 

Y.G. Sorry gia to terastio post.. Alla eimai apelpismeni.. :/ :cry:

Y.G2 Elpizo na apantisete sta greeklish e? :P

Thx!!!!!

Δημοσ.

Δεν χρειάζεσαι το ttmkfdir για να εγκαταστήσεις τις γραμματοσειρές. Απλά πήγαινε στο directory που τις τοποθέτησες μέσα από shell και γράψε πρώτα mkfontdir και έπειτα mkfontscale. Κάνουν την ίδια δουλεία με ttmkfdir και αποφεύγεις τις προβληματικές μεταγλωττίσεις.

Δημοσ.

ok.. ok.. akiro :P brika greeklish converter..

loipoooon... to ekana afto me to mkfontdir kai to mkfontscale kai ola ok xoris probs..

alla kai pali den blepo ellinika.. :evil: :cry: :cry: :cry:

GRRRRRRRRR!!!!

Loipon, 8a po akribos ti ekana na mou peite an kano pou8ena la8os.. :(

->Katebasa to xfntgr, to metonomasa se hellas, to ebala sto /usr/X11R6/lib/X11/fonts/ kai ektelesa to graphis. (Bebaia ekei stin arxi eixe probs giati den evriske to XF86Config opote to ekana edit kai evala xorg.conf opote ok)

->Katebasa tis TrueType grammatoseires tis ebala sto /usr/X11R6/lib/X11/fonts/ttf/ kai ektelesa to: mkfontdir -o fonts.dir kai mkfontscale fonts.scale kai pros8esa tin grami: FontPath "/usr/X11R6/lib/X11/fonts/ttf/" sto xorg.conf.Ekana restart ta X opos leei kai meta etrexa to fc-cache -fv.

->Energopiisa kai to AntiAliasing pou 8elei mesa apto Cotrol Center tou KDE.

->Ebala sto /etc/profile ta :

export LANG=el_GR

export LC_CTYPE=el_GR

export LC_NUMERIC=POSIX

export LC_TIME=POSIX

export LC_COLLATE=POSIX

export LC_MONETARY=POSIX

export LC_MESSAGES=POSIX

export LC_PAPER=POSIX

export LC_NAME=POSIX

export LC_ADDRESS=POSIX

export LC_TELEPHONE=POSIX

export LC_MEASUREMENT=POSIX

export LC_IDENTIFICATION=POSIX

->Pros8esa kai sto xorg.conf ta :

Option "XkbModel" "pc101"

Option "XkbLayout" "us,el"

Option "XkbOptions" "grp:alt_shift_toggle"

->Ektelesa tis exis entoles :

echo -ne "\033(K\033)K" >/dev/tty

setfont iso07.16 (bebaia edo epeidi eixe prob ekana stin teliki setfont -m /usr/share/kbd/consolefonts/iso07.16.gz kai to pire..)

loadkeys gr

 

Afta exo kanei kai DEN douleuei.. Den xero an exo kanei kati la8os i an exo paralipsei kati...

 

HELP!!!

 

:cry: :cry:

Δημοσ.

Koitakses na deis an kata tin ekkinisi fortwnontai ta katallila modules gia greek encoding? Egw pantws me ola ayta pou exeis kanei kai esu eixa upostiriksi ellinikwn sto Slackware 9.1 me Xorg 6.7.0 gia X-server. Twra me to 10 den kserw ti paizei alla logika den prepei na diaferei se auton ton tomea.

Δημοσ.

Trexe xfontsel kai des an anagnwrizei tis grammatoseires kai an nai, an vlepei to iso8859-7 encoding. Emena pantws mou doulevei me thn parapanw diadikasia, mono poy xrhsimopoihsa to ttmkfdir kai oxi to mkfontdir. Dokimase mia me to static binary poy yparxei sto paketo tou ttmkfdir mpas kai...

Δημοσ.

Mplekete poly!! :) :)

Einai poly aplh diadikasia kai to mono pou xreiazetai einai freetype2 (pou perilambanetai sto slack...)

 

1) Prepei na kaneis recompile ton kernel kai na baleis san native language iso8859-7 (kai kane include san built in ola ta alla greek charsets...)

 

2) Pare fonts apo windows kai balta sto /usr/share/fonts. To ka8e font (3-4 arxeia) se diko tou dir. Kane ena "chmod -R 755 /usr/share/fonts/*" kai terma...

Δημοσ.

1) To nls support einai compiled as module ston 2.4.26 tou slack. Ektos autou exei sxesh mono me to I/O ellhnikwn onomatwn arxeiwn sto fs, oxi me tis grammatoseires.

 

2) Etsi 8a tis dei to fontconfig (kai epomenws oles oi qt-based efarmoges), mporeis omws na 3exaseis gtk, gtk2, tk kai genika ola ta alla toolkits. O swstos tropos einai na tis baleis sto /usr/X11/lib/X11/fonts/oti-8es kai na tis dhlwseis ston x-server. Btw, necronio bal'tes sto /usr/X11R6/lib/X11/fonts/TTF (me kefalaia) gia na mh xreiastei na peira3eis to fontconfig.

Δημοσ.

re ceis.. anoixa katala8os ton galeon se ena elliniko site kai to eblepe! Kai egrafa episis!

Pos ginetai na blepo kai na grafo ellinika MONO ston galeon??

tsp.. tora kano recompile kai ta leme..

Δημοσ.

To problima li8ike :lol:

Eprepe ta fonts na ta balo ston fakelo /usr/X11R6/lib/X11/fonts/TTF <- me KEFALAIA .. kai oxi me mikra pou ta eixa.. kai meta na kano :

ttmkfdir > fonts.dir

cp fonts.dir fonts.scale

kai sto /etc/X11/xorg.conf eprepe na allaxo tin grammi:

FontPath "/usr/X11R6/lib/X11/fonts/ttf/"

se FontPath "/usr/X11R6/lib/X11/fonts/TTF/"

kai fc-cache -f -v .

ekana restart ta X kai evlepa/egrafa pleon ellinikaaaaaaa...

THX gia olous osous boi8isan.. kai eidika ton apoiko pou mpike irc na me boi8isei!

:P 8)

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...