|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
How to manage multiple font collections?Hello Fontlinge! I didn't find a fontlinge-user ML, therefore I'll post it here. Thank you for the program! I have installed it on a ubuntu amd64 dapper. I used the new makefile (I guess this might be obligatory on dapper?). Everything worked like expected, beside some few flaws with the installation (WebGUI): http://www.gesindel.de/page_webgui_german.php It's necessary to give ~/public_html/fontlinge/tmp read-write permissions: root@ubuntu:~ # ls -ld /home/gerhard/public_html/fontlinge/tmp drwxr-xr-x 2 gerhard gerhard 4096 Jun 8 19:42 tmp root@ubuntu:~ # chmod -c 777 /home/gerhard/public_html/fontlinge/tmp mode of `/home/gerhard/public_html/fontlinge/tmp' changed to 0777 (rwxrwxrwx) >| find ~/fontbase/ -type f | xargs chmod 644 This does not work on ubuntu dapper. xarg needs the option "-e" . BTW " -c" is neat, to control the process: ~ # find /home/gerhard/fontbase/ -type f | xargs -e chmod -c 644 This is my config: tmp_as_folder /home/gerhard/public_html/fontlinge/tmp/ sortername ggfonts HOME /home/gerhard/ mysqlserver localhost fontbase /home/gerhard/fontbase/ username ggfontlinge ME gerhard database fontlinge password xxxxxxx tarpath /bin/tar VERSION 2.0.1 ~$ mysqlshow -uroot -pxxxxx fontlinge Database: fontlinge +------------+ | Tables | +------------+ | fonts | | kategorien | | look | +------------+ Now my Question: I have one mysql database "fontlinge" with a table called "fonts". These are fonts that are installed with aptitude on the ubuntu system. Now I want to sort and rename fonts I found on a scribus linkpage "Where can I get good fonts" http://wiki.scribus.net/index.php/Where_can_I_get_good_fonts%3F I didn't understand the concept of fontlinge, and if there is a possibility to get for example the systemfonts in ~/fontbase , and the goldenweb.it fonts in ~/fontlinge/goldenweb.it and in a database table "goldenweb.it" ? And different websites, too? e.g. http://fonts.mypages.home http://goldenwebfonts.mypages.home Is there some easy way to group fonts virtually, without copying, but symlinking to new group folders, to activate them by inserting the groupfolderpath into ~/.fonts.conf ? ~/.fonts.conf example: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <!-- #see man fonts.conf # USER CONFIGURATION FILE # This is an example of a per-user configuration file that lives in ~/.fonts.conf --> <!-- ~/.fonts.conf for per-user font configuration --> <fontconfig> <!-- Private Fonts Directory --> <dir>~/.fonts</dir> <!-- fontlinge example --> <!-- <dir>~/fontbase</dir> --> <!-- <dir>~/fontlinge/goldenweb.it</dir> --> <!-- use rgb sub-pixel ordering to improve glyph appearance on LCD screens. Changes affecting rendering, but not matching should always use target="font". --> <match target="font"> <edit name="rgba" mode="assign"><const>rgb</const></edit> </match> </fontconfig> I want to avoid, that all the fonts get into one big "fontbase" folder. I search for something which reminds at e.g. suitcase, x-fonter, fontographer, with drag&drop Gui to make font group handling and activation conveniant on un*x. The possibility to use the "set_kategory arrow-image" is a fine step toward something similar to suitcase. How to add a new category? Thanks in advance, and thank you for this good program, which uses checksums like Extensis FontSense , to distinct and recognize the different fonts ;-). Kind regards Gerhard Gaußling Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fontlinge-devel mailing list Fontlinge-devel@... https://lists.sourceforge.net/lists/listinfo/fontlinge-devel |
|
|
Re: How to manage multiple font collections?Hallo Gerhard, hallo Leute, (your name and mail adress look like you understand german - please ask for an english translation if my guess was wrong.) Am Samstag, 24. Juni 2006 14:04 schrieb Gerhard Gaußling: > I didn't find a fontlinge-user ML, therefore I'll post it here. Du bist hier goldrichtig - wir haben bisher nämlich nicht genug Traffic, um ihn sinnvoll auf mehrere Mailinglisten aufzuteilen ;-) > Thank you for the program! I have installed it on a ubuntu amd64 > dapper. I used the new makefile (I guess this might be obligatory on > dapper?). Hängt von der make-Version ab. (Faustregel: Wenn das alte Makefile funktioniert, braucht man das neue nicht *g*) > Everything worked like expected, beside some few flaws with the > installation (WebGUI): > > http://www.gesindel.de/page_webgui_german.php > > > It's necessary to give ~/public_html/fontlinge/tmp read-write > permissions: > > root@ubuntu:~ # ls -ld /home/gerhard/public_html/fontlinge/tmp > drwxr-xr-x 2 gerhard gerhard 4096 Jun 8 19:42 tmp > root@ubuntu:~ # chmod -c 777 /home/gerhard/public_html/fontlinge/tmp > mode of `/home/gerhard/public_html/fontlinge/tmp' changed to 0777 > (rwxrwxrwx) aus fontlinge_userinstall: echo "############################################################" >&2 echo "Please make sure that the Apache user (for example wwwrun)" >&2 echo "has write access to $TMP_FOLDER" >&2 echo "See man chmod for details." >&2 echo "#############################################################" >&2 Irgendwie muss dieser Hinweis unsichtbar sein - Du bist nicht der erste, der das Problem hat ;-) In der CVS-Version haben wir das Standardverzeichnis auf /tmp geändert, damit sollte das Problem nicht mehr auftreten. (Im Gegenzug könnte PHP open_basedir Probleme machen - vermutlich hat das aber kaum jemand gesetzt.) > >| find ~/fontbase/ -type f | xargs chmod 644 > > This does not work on ubuntu dapper. xarg needs the option "-e" . Hmm, nach einer Durchsicht der xargs-Manpage verstehe ich gerade nicht, warum dieser Parameter nötig sein soll. (Ich habe ihn unter SUSE Linux jedenfalls noch nie gebraucht.) Eine andere Frage: Funktioniert find ~/fontbase/ -type f -print0 | xargs -0 chmod 644 Das wäre noch besser - es verarbeitet nämlich auch Leerzeichen in Dateinamen richtig (wobei nach einem fontlinge_base --move/--copy keine Leerzeichen mehr übrig sein dürften, aber sicher ist sicher). > BTW " -c" is neat, to control the process: > > ~ # find /home/gerhard/fontbase/ -type f | xargs -e chmod -c 644 Kommt auf die Dateianzahl an - bei Rattis Fontbase mit > 100000 Fonts wäre es wohl eher nervig ;-) > Now my Question: > I have one mysql database "fontlinge" with a table called "fonts". > These are fonts that are installed with aptitude on the ubuntu > system. > > Now I want to sort and rename fonts I found on a scribus linkpage > "Where can I get good fonts" > http://wiki.scribus.net/index.php/Where_can_I_get_good_fonts%3F > > I didn't understand the concept of fontlinge, and if there is a > possibility to get for example the systemfonts in ~/fontbase , and > the goldenweb.it fonts in ~/fontlinge/goldenweb.it and in a database > table "goldenweb.it" ? Du kannst die Fonts problemlos in ein anderes Verzeichnis sortieren: fontlinge_base --move --fontbase=~/fontbase/goldenweb.it (--copy geht natürlich auch) Getrennte Datenbanken sind nicht möglich (zumindest derzeit ;-) und passen auch nicht ins (für uns) normale Benutzerschema - wir wollen eine Übersicht über alle Fonts, nicht über einen Teilbereich unserer Fonts. Ein Workaround ist, je nach Bedarf ein Verzeichnis mit fontlinge_base --dbinsert einzulesen. (Für künftige Versionen habe ich schon über eine Art "engere Auswahl"-Tabellen nachgedacht, damit könnte man wohl auch "eine Tabelle pro Fontbase" lösen. Programmiert ist davon aber noch nichts.) > And different websites, too? e.g. > http://fonts.mypages.home > http://goldenwebfonts.mypages.home Einfach ein anderes Verzeichnis für --fontbase verwenden. Tipp: Damit es nicht unübersichtlich wird, solltest Du das Standardverzeichnis in ~/.fontlinge ändern: fontbase=/home/gerhard/fontbase/misc Es dürfte nicht allzu schwierig sein, im Webinterface noch ein Suchfeld für den Pfad anzugeben (index.php, nimm einfach das Suchfeld für den Schriftnamen als Vorlage). Wenn Du uns die geänderte Version schickst, ist das in der nächsten Version mit enthalten ;-) > Is there some easy way to group fonts virtually, without copying, but > symlinking to new group folders, to activate them by inserting the > groupfolderpath into ~/.fonts.conf ? [...] Ich habe das nie getestet, theoretisch müsste es funktionieren. Du musst aber Deinem X-Server noch mitteilen, dass sich die .fonts.conf geändert hat. Guck mal in man xset - Stichwort "fp rehash" sowie andere "fp"-Befehle. > I want to avoid, that all the fonts get into one big "fontbase" > folder. I search for something which reminds at e.g. suitcase, > x-fonter, fontographer, with drag&drop Gui to make font group > handling and activation conveniant on un*x. Was hältst Du von fonts:/ in Konqueror? Nicht genau, was Du suchst, geht aber wohl in die richtige Richtung. > The possibility to use the "set_kategory arrow-image" is a fine step > toward something similar to suitcase. > > How to add a new category? Einfach von Hand (oder mit phpMyAdmin) in der Datenbank, Tabelle "kategorien" eintragen. Verwende aber bitte mit einer ID > 1000, damit es nicht zu Kollisionen kommt, falls wir mal neue Kategorien anlegen. Gruß Christian Boltz -- > Ich komme z.Zt. kaum noch mit dem Lesen der Listenmails nach. > (Freundin ist schuld.) Oh, hast du noch "Freundin 1.3"? Ab 2.0 beherrscht zumindest die OS-Version Suspend-to-Disco und Suspend-to-MOM, teste die doch mal an :-) Klappt hier ganz prima. [> Ralph Müller und Michael Behrens in suse-linux] Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fontlinge-devel mailing list Fontlinge-devel@... https://lists.sourceforge.net/lists/listinfo/fontlinge-devel |
| Free embeddable forum powered by Nabble | Forum Help |