kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #01760
Re: [kicad-devel] Font support in eeschema and pcbnew on text labels
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
Pavlyukov Alexey <lexaficus@...>
-
Date:
Tue, 09 Sep 2008 18:42:01 +0400
-
In-reply-to:
<936b14d20809090640y1fc478b4o5e2001cb3a4665f0@...>
-
Reply-to:
Pavlyukov Alexey <lexaficus@...>
-----Original Message-----
From: Manveru <manveru@...>
To: kicad-devel@xxxxxxxxxxxxxxx
Date: Tue, 9 Sep 2008 15:40:38 +0200
Subject: Re: [kicad-devel] Font support in eeschema and pcbnew on text labels
>
> 2008/9/9 Pavlyukov Alexey <lexaficus@...>:
> > Hello!
> > I realized support of cyrillics in eeschema and pcbnew on text labels, it is
> > possible
> > also other languages if to add the description of symbols in a file of fonts
> > (share/grfonte.kifnt). A format of a file of fonts look in kiFont.h. I send
> > you patch
> > to the version trunk revision 1229.
> >
> > Pavlyukov Alexey
> > mailto: lexaficus@...
>
> For me it looks quite nice, but it seems to me that this idea disables
> non-unicode KiCad version completly*, and what about data format for
> boards and schematics? I think they never really supported Unicode (am
> I right or not?). This means files saved in version of KiCad with this
> patch cannot be opened in older one - operation will mess all new
> characters. I am speculating now.
>
> * - as far as I remember J.P. said that currently KiCad cannot work
> with UniCode support.
>
> Michal
>
>
As I understand in kicad support unicode has been put, there are macroes CONV_TO_UTF8 and CONV_FROM_UTF8 (macros.h). In the current version support Latin symbols only, and at a Latin the same codes as well as in coding UTF-8, the problem of back compatibility should not be. In non-uncicode version there will be only a Latin.
Pavlyukov Alexey
mailto: lexaficus@...
References