* [mdk-re] Рисование диаграмм из Perl
@ 2002-03-25 11:04 Andrey Brindeew
2002-03-25 11:09 ` [mdk-re] " Artem Pastuchov
0 siblings, 1 reply; 3+ messages in thread
From: Andrey Brindeew @ 2002-03-25 11:04 UTC (permalink / raw)
To: ALTLinux Mailing List
[-- Attachment #1: Type: text/plain, Size: 887 bytes --]
Hi!
Потребовалось тут нарисовать диаграммы в Perl.
Основная проблема: как "нарисовать" русские буквы.
В GD проблема решается способом имени Витуса Вагнера:
http://groups.google.com/groups?oi=djq&selm=an_547764666
Диаграмму нарисовал (с помощью GD::Graph::pie3d).
Начальник посмотрел и скривился - мол "некоммерческий вид" у нее.
Ладно, изыскания были продолжены и скоро наткнулся вот на это:
http://www.eecs.umich.edu/~addi/perl/Imager/
http://www.develop-help.com/imager/graph/piegraph.html
Основная проблема была в том, что GD рисует non-antialiased
primitives. А Imager это умеет "с рождения".
Далее выяснилась весьма неприятная вещь: русские буквы в Imager
нарисовать нереально.
Способ Витуса Вагнера не работает, а
use utf8; $string = "\x{UNICODE_CODE}" тоже.
Его побороть реально?
--
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely"
(C) Larry Wall.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [mdk-re] Re: [mdk-re] Рисование диаграмм из Perl
2002-03-25 11:04 [mdk-re] Рисование диаграмм из Perl Andrey Brindeew
@ 2002-03-25 11:09 ` Artem Pastuchov
2002-03-25 12:26 ` Andrey Brindeew
0 siblings, 1 reply; 3+ messages in thread
From: Artem Pastuchov @ 2002-03-25 11:09 UTC (permalink / raw)
To: Andrey Brindeew
Hello Andrey,
Monday, March 25, 2002, 11:04:50 AM, you wrote:
AB> Hi!
AB> Потребовалось тут нарисовать диаграммы в Perl.
AB> Основная проблема: как "нарисовать" русские буквы.
AB> В GD проблема решается способом имени Витуса Вагнера:
AB> http://groups.google.com/groups?oi=djq&selm=an_547764666
AB> Диаграмму нарисовал (с помощью GD::Graph::pie3d).
AB> Начальник посмотрел и скривился - мол "некоммерческий вид" у нее.
AB> Ладно, изыскания были продолжены и скоро наткнулся вот на это:
AB> http://www.eecs.umich.edu/~addi/perl/Imager/
AB> http://www.develop-help.com/imager/graph/piegraph.html
AB> Основная проблема была в том, что GD рисует non-antialiased
AB> primitives. А Imager это умеет "с рождения".
AB> Далее выяснилась весьма неприятная вещь: русские буквы в Imager
AB> нарисовать нереально.
AB> Способ Витуса Вагнера не работает, а
AB> use utf8; $string = "\x{UNICODE_CODE}" тоже.
AB> Его побороть реально?
А шрифты у вас юникодные?
Пишите вы через ttf функции ?
--
Best regards,
Artem mailto:past@talarii.co.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-03-25 12:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-25 11:04 [mdk-re] Рисование диаграмм из Perl Andrey Brindeew
2002-03-25 11:09 ` [mdk-re] " Artem Pastuchov
2002-03-25 12:26 ` Andrey Brindeew
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