From: Dmitry Smirnov <dvsmirnov@comail.ru> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] lout Date: Mon Nov 19 02:06:01 2001 Message-ID: <20011119021450.40487cd1.dvsmirnov@comail.ru> (raw) In-Reply-To: <3BF7AC17.90908@logic.ru> [-- Attachment #1: Type: text/plain, Size: 1895 bytes --] On Sun, 18 Nov 2001 15:39:51 +0300 Aleksey Novodvorsky <aen@logic.ru> wrote: > Victor Sovetov wrote: > <skip> > > > >А там русский встроеный должен быть, в 3.24. Однако, надо доку > которая с > >ним идет напечатать, и прочитать. Кроме того, есть Lout > FAQ/HOWTO > >(http://www.chez.com/emarsden/lout/loutFAQ.html) - там должен > >быть описан процесс подключки языков. Спасибо за ответы! Действительно в lout-3.24 есть русские переносы, однако по поводу шрифтов в исходниках (/software/lout.russian) написано следующее: This software is now included in the main Lout distribution, except that there is a problem with the fonts, which are accordingly not being distributed > Проблема включения lout в Sisyphus состоит в синхронизации его > шрифтов, применяемых при русификации и стандартных PS-шрифтов > дитсрибутива (сейчас это urw-fonts с кириллическими глифами > Валеннтина Филиппова). > Это не сложно сделать, но нужен человек, который использует > lout и имеющий время для адаптации шрифтов. > Шрифты, используемые Uwe, имеют сомнительные лицензии, увы. > > Rgrds, AEN > Процесс добавления шрифтов в 3.24, насколько я понял, немного отличается от описанного в LoutFAQ. Их нужно добавлять в /usr/lib/lout/data/fontdefs.ld Формат файла тоже изменился. Я написал скрипт на Python (в аттаче), который добавляет описания шрифтов из urw-fonts-2.0 к fontdefs.ld (на основе .afm) Кроме того, добавил все *.afm в /usr/lib/lout/font После этого получил сообщение, что не найден шрифт Times Base. Изменил имя шрифта Nimbus Medium на Times Base. После этого, наконец-то, в gv появились русские буквы! Правда была следующая ругань при обработке исходника: 20,12: cross reference @FontDef&&URW Gothic L-Book used previously и так для каждого шрифта 197,16: ignoring unencoded ligature character fl in font file /usr/lib/lout/font/n021003l.afm (line 91) С уважением, Дмитрий Смирнов [-- Attachment #2: afm2lout.py --] [-- Type: application/octet-stream, Size: 981 bytes --]
next prev parent reply other threads:[~2001-11-19 2:06 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-11-18 14:23 Dmitry Smirnov 2001-11-18 15:00 ` Victor Sovetov 2001-11-18 15:21 ` Aleksey Novodvorsky 2001-11-19 2:06 ` Dmitry Smirnov [this message] 2001-11-19 2:18 ` Aleksey Novodvorsky 2001-11-19 23:21 ` Dmitry Smirnov 2001-11-19 3:08 ` AVL 2001-11-19 23:21 ` Dmitry Smirnov 2001-11-19 23:29 ` AVL 2001-11-20 0:09 ` Dmitry Smirnov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20011119021450.40487cd1.dvsmirnov@comail.ru \ --to=dvsmirnov@comail.ru \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git