ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Aleksey Novodvorsky <aen@logic.ru>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] На: [mdk-re] TTF из  ISO-8859-5 в koi8-r
Date: Tue Mar  6 17:17:11 2001
Message-ID: <3AA4F29C.B2798822@logic.ru> (raw)
In-Reply-To: <000d01c0a645$cefe9940$0100a8c0@energy>

"Anton I. Danilov" wrote:

> > X работает с ttf в формате unicode. Этот формат вовсе не означает, что в
> > шрифте много символов, их может быть и совсем мало. Если у Вас такой
> шрифт,
> > то запустите ttmkfdir  > fonts.dir в каталоге с ним и получите шрифты со
> > всеми возможными кодировками, в том числе и koi8-r, -- для этого
> > достаточно  наличия соответствующих глифов.
>
> Вот я так и работаю. Только не все он кодировки выдает!
>
> Вот, например, стандартный microsoft-verdana содержит iso8859-5, а koi8 в
> нем нет. Windows, очевидно, берет и перекодирует iso в koi. ttmkfdir же
> честно выдает - все кодировки начиная с iso8859-1 до 15... По-русски этот
> шрифт не работает. Та же ситуация и с большинством других "русских"
> ttf-шрифтов. Можно это вылечить?
>

А какая у Вас версия freetype? Если ttmkfdir выдает 8859-5, то должен и
koi8-r. Никакой перекодировки реально не происходит, просто создается
виртуальный шрифт.
Workaround: добавьте в fonts.dir строчку с koi8-r на конце вместо 8859-5, и
перезапустите xfs. Все должно быть в порядке.
Rgrds, AEN




  reply	other threads:[~2001-03-06 17:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-05 18:23 Anton I. Danilov
2001-03-06 12:17 ` Aleksey Novodvorsky
2001-03-06 17:00   ` [mdk-re] На: " Anton I. Danilov
2001-03-06 17:17     ` Aleksey Novodvorsky [this message]
2001-03-07 23:03       ` [mdk-re] На: " Anton I. Danilov
2001-03-09  1:44         ` Aleksey Novodvorsky

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=3AA4F29C.B2798822@logic.ru \
    --to=aen@logic.ru \
    --cc=mandrake-russian@linuxteam.iplabs.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