Odigies gia ellinika fonts sto linux....

    NEW: Na kai mia olokliromeni douleia gia ellinika se opoiodipote GNU/Linux apo to filo mas Kyritsi Ath.(DJArt) neos kai oraios... edo... Bravo !!!

    NEW
: To teleftaio site pou exei odigies gia to RH 9.0 brisketai edo...

    NEW: To epana-kykloforon periodiko tou hellug edo... exei ta teleftaia nea sxetika me tin ellinopoiisi sto GNU/Linux...

   Opos katalavenete tha anagkasto na grapso tis odigies se Greeklish giati ean kapoios den exei ta ellinika fonts egkatestimena pos einai dynaton na dei tin selida;
Epeidi prosfata ekana mia egkatastasi tou Mandrake 8.1 kai idi exo spiti tis ekdoseis RedHat 7.2 kai Suse 7.0 nomizo oti kalypto ena evry fasma pleon egkatastaseon kai tha miliso gia aytes xehorista an kai polla simeia einai koina...

************************************************************************************************************************************
*******************************PROSOXI : NEOS TROPOS TOU FONT SERVER STO RED HAT 8.0 **********************
************************************************************************************************************************************

Eyxaristo ton Niko Charonitaki apo to Panepistimio Kritis gia tin voitheia....

help1
**************************************************************
o Red Hat Linux now uses Xft for fonts in GNOME and KDE, which uses
fontconfig for configuring fonts. The old style Xft config file
/etc/X11/XftConfig is no longer used or supported, having been
replaced by the new unified fontconfig method of configuration. The
fontconfig config file can be customized by editing
/etc/fonts/fonts.conf file.

If you have fonts that you would like to add to your configuration,
you can copy them to ~/.fonts (or /usr/share/fonts), and run fc-cache
directory. The fonts will then be available.
**************************************************************
help2
**************************************************************
There are two font subsystems, the old one is 15-20 years old and
is referred to as "core X fonts"; these are classic X Window System
fonts. To install new fonts for this, instructions should be easy to
google up, it involves putting the fonts in a system directory and
running ttmkfdir and restarting the "xfs" font server. Core X fonts
have these properties:

- they are server-side, handled by the X server and xfs
- they are always monochrome (not antialiased)
- they have annoying names like "-urw-nimbus roman no9 l-medium-i-normal--0-0-0-0-p-0-iso8859-1"

The new font subsystem is being phased in to replace it. The new one
is called "fontconfig/Xft2" where fontconfig is the part that parses
/etc/fonts/fonts.conf and scans your ~/.fonts and /usr/share/fonts
directories, and Xft2 is the part that draws fonts on the screen.

- these fonts are client-side, handled by the application
- they can be used for printing etc. in addition to
display on the screen
- they can be rendered antialiased or not, as in Preferences->Fonts
rendering tweaks
- they have sane names like "Nimbus Sans"

So anyhow, we are currently in a transition period. Some applications,
namely those using Qt 3 or GTK 2, use the new system. Other
applications, most of the rest, use the old system. You have to
install the fonts once for each system.

Over time (for the most part we hope by the next release), everything
will move to the new system.

(Someone add this post to a FAQ somewhere!)

Havoc

**********************************************************************************************************************************************************

RED HAT 7.2

Prota ap'ola prepei na xeroume pou einai ta ellinika fonts gi'ayto patame edo... (http://graphis.hellug.gr/el/fonts.html)
To proto vima loipon einai na katevasoume se ena /tmp directory ta ellinika fonts...sto synolo mexri stigmis 5
Katopin apo to diko mou site katevazoume ta exis 9 arxeia 1 2 3 4 5 6 7 8 9 (Osoi mpainoun apo to site tou Geocities gia ta arxeia pou den exoun epektasi as paroun ayto to zip...) Se orismena apo ayta tha deite oti mporeite na valete os xairetismo oti thelete eseis. Edo einai o xairetismos tou InstallFest 2001 15-16/12/01 pou egine sto TEI Peiraia.PROSOXI Ayta ola ta arxeia (14 to synolo) ta vazoume ola mazi ston idio katalogo /tmp kai apo ekei trexoume to script ./automate (afou to kanoume: $chmod 755 automate)

Na kai oi odigies apo tous expert...

Greek Insrtuctions for RedHat 7.2 Linux
----------------------------------------
Gia na na stisoume Ellinika sto RedHat Linux 7.2
den exei simasia an tha epileksoume keyboard layout i locale Elliniko stin egkatastasi.
A. Egkatastasi Ellinikwn se consola.
-------------------------------------
1. Bgainoume se console mode me ctrl+alt+F1 kai kanoume login san root
2. Afou pame sto /tmp directory trexoume to programmataki automate dinontas ./automate
To scriptaki auto tha kanei egkatastasi twn Ellinikwn locale.
Gia tin akribeia tha kanei copy ta arxeia:
i18n sto directory /etc/sysconfig/
keyboard sto directory /etc/sysconfig/
issue sto directory /etc/
issue.net sto directory /etc/
redhat-release sto directory /etc/
profile sto directory /etc/
Stin sinexeia tha kanei install ta rpm paketa ton Ellinikwn grammatoseirwn gia X windows
kathos kai to rpm paketo gia tin ypostiriksi ton Ellinikwn locale gia KDE.
Ayto itane ...kanontas logout kai login pali tha prepei na blepete alla kai na grafetai Ellinika
se consola allazontas se Ellinika me alt+shift.
Testaroume an belpoume ta Ellinika grafontas ls -la . Tha prepei na blepoume tous mines sta Ellinika.
An den blepoume Ellinika ksanakanoume to A section autou tou keimenou ksana pio prosektika!
****************************************************************************************************************************************

B. Egkatastasi Ellinikwn se X windows kai KDE 2.2.
---------------------------------------------------
1. Gia na baloume Ellinika se X windows tha prepei na exoume kanei egkatastasi twn Ellinikwn
gia consola.
2. Stin sinexeia tha prepei na pame sto directory /etc/X11/ dinontas cd /etc/X11/
kai sto arxeio XF86Config-4 briskoume tin grammi pou anaferetai sta fonts kai grafoume:
(*** Mia episimansi: Kalou-kakou ta idia kante kai sto arxeio XF86Config ***)
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc" #xfntgr
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi" #xfntgr
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi" #xfntgr
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1" #xfntgr

PROSOXI!!!
Ta idia path ta vazoume sto arxeio: /etc/X11/fs/config
opou vrisketai o font server (meta apo tin RH6.2) sto pedio catalogue=
kai kanoume restart ton font server etsi: $ /etc/rc.d/init.d/xfs restart

3. Ligo pio kato sto section keyboard tha breite tin grammi:
XkbLayout "us"
kai tha to allaksete se:
XkbLayout "el"
tin grammi:
#Option XkbOptions ""
stin grammi:
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
kai tin grammi:
XkbVariant ""
stin grammi:
#XkbVariant ""Stin grammi XkbOption orizoume to pos tha allazoun apo Ellinika se Agglika kai to antistrofo.
dinontas grp:alt_shift_toggle orizete oti i allagi tha ginetai me alt kai shift.
Mporeite na dilosete grp:ctrl_shift_toggle gia na allazei me control kai shift.
To grp_led:scroll einai endeiktiko kai otan allazete glossa apo agglika se ellinika na anabei
kai to lampaki tou scroll lock.
To option XkbLayout prepei na einai el gia na mporoume na grapsoume Ellinika.
Me tin rithmisi auti DEN blepoume Ellinika ... alla GRAFOUME Ellinika!
4. Patame alt+F7 mpenoume sta X windows. Ekei apo to menu epilegoume na kanoume restart ton X server.
5. Kanoume login sta X windows san aplos xristis px guest
6. Sto odigo pou tha mas emfanistei bazoume gia xora greece alla gia glossa DEN bazoume
el (Ellinika) alla to default! Auto to kanoume giati an epileksoume kai Elliniki glossa
a. Tha kollisei to programmataki tou odigou kai tha kleinei mono me restart twn X windows kai
b. Giati tha blepoume pantou erotimatika anti gia Ellinika!
7. Sto telos tou odigou anoigoume to Control Center kai pame stin perioxi Personalization
kai Country&Laungage. Me diplo klik anoigei sta aristera mas to menu gia tis rithimseis.
ekei epilegoume prota na baloume to iso-8859-07 sto trito combo box na kanoume apply
kai meta na pame na baloume ta Ellinika apo to deutero combo box allazontas to default
se el (ellinika).
8. Kanoume logout kai ksanakanoume apo to menu restart ton X server kai kanoume login kai pali.
9. Anoigoume to kword kai patontas ton sindiasmo pou exoume orisei sto XF86Config-4 pio pano
dokimazoume na grapsoume Ellinika. An den grafei Ellinika kai den blepoume ta Ellinika sta
menu exoume kanei kati lathos. Opote ksanakoitame kai ksanakanoume (i elegxoume) to section B
autou tou keimenou!
10. Anoigoume ena konsole (einai to iconidio me mia othoni kai ena koxili stin akri)
kai patontas ton sindiasmo pou allazei se Ellinika prospathoume na grapsoume Ellinika kai ekei!
An ta blepoume kinezika allazoume tin grammatoseira apo tis protimiseis (settings) se mia Elliniki
kalo tha itane na protimithei i grammatoseira grtt.
11. An den blepoume tis Ellinikes grammatoseires tha prepei na kanoume restart ton X server (kanontas
logout kai restart apo to menu i stin xeiroteri periptosi na kanoume restart to mixanima!)
C. Contributions
----------------------
1. Topoglidis Constantinos
2. Djart ( a.k.a. Kyritsis Athanasios)
3. Apostolakis Nikos


==========True type fonts apo Window$=================
Edo tha xreiastei na doume pos vazoume True type fonts apo ta Window$ giati pola sites den tha ta vlepoume sosta...
==========Mount the Win partition=====
Poly pithanon na xreiastei na kanoume mount to partition ton Win efoson exoume dual boot...Pos?
Prota kanoume sto /mnt ena subdirectory me to onoma Win98
Pame sto /etc/fstab kai vazoume

/dev/hda1 /mnt/Win98 vfat rw,user,codepage=737,iocharset=iso8859-7 0 0

kai kanoume restart...Tha prepei na mas vgalei sto desktop ton disko Win98 pou einai to partition ton Windows
mporei omos na xreiastei, ean theloume na grafoume sto disko Win na mpei kai etsi:

/dev/hda1 /mnt/Win98 vfat defaults,gid=100,umask=007,codepage=737,iocharset=iso8859-7 0 0

gia na vroume ti gid eimaste dinoume sti konsola $ id

===========Synexizoume gia ta True types....
Kanoume ena katalogo p.x. to gr_ttf sto home directory mas kai vazoume ekei ta true type pou theloume me copy apo to katalogo /windows/fonts/
Synithos vazoume ta Arial, Tahoma kai Times New Roman pou xrisimopoiounte evreos sto Internet...
Pame sto katalogo /home/user/gr_ttf kai ekteloume : $ ttmkdir -o fonts.dir (oste na dimiourgithei to arxeio fonts.dir pou einai aparaitito)
Katopin prosthetoume sta parapano arxeia (XF86config-4 kai fs/config) ta path...kai mallon teleiosame...Pane apo to utility Fonts na deis an vgainoun ta fonts kai eimaste OK...

===========Pos egkathisoume ena network printer==============
Kaloume san root to tool $ printtool kai apo ekei vazoume Unix Printer kai katopin sto pedio server tin IP tou printer kai sto pedio
queue to JetDirect...Stelnoume meta mia test page kai vlepoume an epiase... Endexomenos na xreiastei na xanasikothei o print server
Pos? $ /etc/rc.d/init.d/lpd restart

Gia ta ellinika se epomeno epeisodio....


============Pos vazoume tin rodela tou mouse na trexei...

Vazoume sto etc/X11/XF86Config
-4 tis parakato grammes:
=======================
Identifier "Mouse1" or "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "3"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
============================

kai sto XF86Config na exoume valei:

===========================

#Pointer section
#######################3

Section "Pointer"
Protocol "PS/2"
Device "/dev/psaux"
=======================


             



PROSOXI (pali):
Ean allaxete otidipote sto genikotero configuration tou mixanimatos (p.x. tin analysi othonis apo 1024 se 800) tha allaxtei olo to XF86Config-4 kai tha prepei na kanete oli tin anotero diadikasi XANA!!! Gi' ayto ean douleyoun ola sosta min peiraxete meta TIPOTE (ayto einai ena meion gia to Linux apo to opoio xefeygei me to Sax kai Yast mono i Suse...)


Edo tha mpoun gia Mandrake (current) ...


Akoloythiste tis odigies tou filou mas Thodori Kaskali apo to pdp lab tou Panepistimiou Makedonias sto opoio kai aniko edo...
kai gia ena olokliromeno ellinopoiimeno perivallon


Star Office kai Ellinika


4. Egkatastash Ellhnikwn grammatoseirwn
Eytyxws gia mas, h egkatastash twn grammatoseirwn sto StarOffice 5.1 exei oysiastika beltiw8ei se sxesh me to parel8on. Twra merika bhmata h einai axrhsta h ginontai aytomata. H egkatastash twn ellhnikwn grammatoseirwn ginetai opws ka8e egkatastash grammatoseirwn gia to StarOffice kai xwrizetai se duo stadia: sthn egkatastash ston X-server kai sthn egkatastash sto StarOffice.


4.1 Egkatastash ellhnikwn grammatoseirwn apo to egxeirhma GRAFIS
Eytyxws pleon me to egxeirhma GRAFIS h egkatastash twn ellhnikwn ginetai abiasta kai paneukola. Phgainete sth selida toy GRAFIS kai katebaste to paketo poy tairiazei kalutera sto susthma sas. An to exete hdh kanei den xreiazetai tipote perissotero apo to na dhlwsete aytes tis grammatoseires sto StarOffice. To paketo xfntgr exei oles tis ellhnikes grammatoseires, oxi mono tis graphis-arial.


4.2 Dhlwsh grammatoseirwn sto StarOffice
To teleytaio bhma gia na doylecoyn oi grammatoseires me to StarOffice einai na dhlwsoyme tis grammatoseires aytes sto StarOffice. Prepei omws na eimaste root gia na ginei ayto. Phgainoyme sto fakelo /opt/Office*/bin kai ekteloume to arxeio spadmin h psetup analoga me thn ekdosh toy SO poy exete. Sto para8yro dialogoy poy emfanizetai dialegoyme "Add Fonts" kai meta "Initialize Font Paths". Twra prepei na mporoume na doume to fakelo me ta ellhnika mas. Ton dialegoyme kai patoume "OK". Twra prepei na emfanisthke ena para8yro poy mas plhroforei poses grammatoseires bre8hkan. Patoume "OK". Sto epomeno para8yro blepoyme ta xarakthristika aytwn twn grammatoseirwn. An den exoyn ws encoding to 1 alla to 7 PREPEI na to allajete se 1, alliws den 8a emfanizontai swsta kai oute 8a typwnontai. Patoume "Close", jana "Close" kai eimaste etoimoi!

Gnwsta problhmata einai oti ta BOLDITALIC twn grinet-greek arial grinet-greek times kai grinet-greek courier den emfanizontai.

4.3 Egkatastash allwn ellhnikwn grammatoseirwn
Sto 8ema ayto den 8a anafer8w ektetamena. Yparxei arketh bibliografia gi'ayto (shm.: opoios 8elei na boh8hsei as moy steilei thn http dieu8ynsh gia ayto to 8ema). Prepei na tonis8ei pws mono oi Type1 grammatoseires einai gia ektupwsh (gia opoiadhpote efarmogh) enw oi Bitmap den einai.

Se genikes grammes ta bhmata poy prepei na kanei kaneis einai:

Aposympiesh toy arxeioy me ta ellhnika (an einai sympiesmeno).
Elegxos an yparxei to arxeio afm gia ka8e arxeio pfb. Kanonika ayta ta arxeia panta yparxoyn.
Dhmioyrgia twn arxeiwn Fontmap, fonts.dir kai fonts.scale. Ayta mporoun na sxhmatistoun aytomata me thn ektelesh toy programmatos type1inst. Gia na sxhmatistoun prepei na pate ston katalogo poy molis exete aposympiesei ta ellhnika kai na trejete to programma type1inst. (Prwta prepei na to exete aposympiesei kai kanei executable: chmod a+x type1inst)
Na dhlwsete sta X to neo fakelo me tis grammatoseires. Ayto ginetai me duo tropoys:
orizontas to neo fakelo sto arxeio XF86Config. Ayto to arxeio brisketai gia paradeigma stoys fakeloys /etc/ h /etc/X11/. O orismos ginetai ws ejhs:
Section "Files"
FontPath "/my/font/path"

Mh jexasete na allajete to parapanw paradeigma sth swsth diadromh toy diskoy!
Prosoxh !
An gia opoiodhpote logo ta arxeia ston katalogo twn grammatoseirwn poy molis dhlwsate den mporoun na diabastoun swsta apo ta X, den 8a mporesete na mpeite sta X!

ektelwntas tis parakatw entoles sto arxeio .xinitrc h kai xeirokinhta:
xset +fp /my/font/path
xset fp rehash

Elegxos oti oi grammatoseires egkatasta8hkan. Ayto ginetai trexontas to programma xfontsel, opoy mporeite na deite kai me grafiko tropo tis nees sas grammatoseires.

Beltistopoihsh arxeiwn afm
Dystyxws ta perissotera arxeia afm poy erxontai mazi me tis grammatoseires den mporoun na xrhsimopoih8oun ws exoyn me to StarOffice. Prepei na exoyn ta dedomena toys se mia sygkekrimenh seira kai na exoyn orismena pedia etsi dhlwmena poy enw den einai xrhsima gia ta X, einai wstoso aparaithta gia to StarOffice. Gia na ginei h zwh mas pio eukolh yparxei to programma afm.pl se perl to opoio aytomata dhmioyrgei to swsto afm arxeio. To arxeio ayto mporei na diabastei kai apo ta X, opote den yparxei fobos na katastrecete ayto to arxeio. Gia na ta metatrecete prepei na pate ston fakelo me tis grammatoseires greekXfonts-Type1 kai na ektelesete tis epomenes entoles:

perl afm.pl fontname.afm
rm -f fontname.afm
mv fontname.afm.new fontname.afm

Fysika an sas exoyn pei pws oi sygkekrimenes grammatoseires exoyn afm arxeio symbato me StarOffice den xreiazetai ayto to bhma.

Dior8wsh boh8htikwn arxeiwn
Ayto to bhma kanonika den 8a eprepe na ginetai, toylaxiston gia oses grammatoseires exoyme ektelesei to programma type1inst. Dystyxws omws oi pio gnwstes ellhnikes Type1 grammatoseires gia X exoyn problhma. Anaferomai stis greekXfonts-Type1 h se opoies sylloges tis symperilambanoyn. Aytes an kai exoyn ellhnika grammata, oysiastika antika8istoun ta jena sumbola me ellhnika (den dhlwnoyn dhladh pws sxediazoyn ellhnika sumbola alla jena). Oysiastika einai dhladh grammatoseires me 8859-1 encoding kai oxi 8859-7 poy 8a htan to swsto. Sta paketa ellhnikwn poy kykloforoun aytes dhlwnontai men ws 8859-7, alla eswterika einai 8859-1. To StarOffice apo thn allh meria diabazei katey8eian ta pfb arxeia otan prokeitai na typwsei, den ejartatai apo ti exei kaneis dhlwsei sta X. Gia na tis emfanisei omws sthn o8onh xrhsimopoiei tis roytines twn X. Etsi exoyme to ejhs paradojo: enw men sthn o8onh emfanizontai swsta ta agglika, ta ellhnika fainontai san na grafoyme to ena panw sto allo. Akoma xeirotera, otan typwsoyme diapistwnoyme pws elaxista ellhnika grammata typwnontai kai ayta poy typwnontai den einai kan ellhnika! To StarOffice prospa8ei na typwsei toys xarakthres twn ellhnikwn san na htan jenoi xarakthres me mia grammatoseira poy exei ellhnikous men xarakthres alla dhlwmenoi san jenoi, opote mono h "tomh" twn duo typwnetai: praktika mpaxalo!

Eytyxws an exete katebasei thn ekdosh apo to egxeirhma GRAFIS ola ayta ta bhmata exoyn hdh ginei. Oi plhrofories yparxoyn edw mono an 8elete na ma8ete ti akribws egine.


Creation date: December 2001