* Installing foreign fonts into the yocto build
@ 2013-04-03 8:47 Satya Swaroop Damarla
2013-04-04 23:14 ` Paul Eggleton
0 siblings, 1 reply; 4+ messages in thread
From: Satya Swaroop Damarla @ 2013-04-03 8:47 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
Hi Guys,
I have a small issue. On my device, I would like to have Chinese, Japanese,
Russian, Hebrewish, Greek fonts and all European language special
characters available for java application based on X.
In general I would like to know a method of adding custom fonts which are
scalable to X server. I tried browsing oever the internet and in the
mailing lists but not much success... Suggestions are deeply appreciated...
Regards,
Satya
[-- Attachment #2: Type: text/html, Size: 586 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Installing foreign fonts into the yocto build
2013-04-03 8:47 Installing foreign fonts into the yocto build Satya Swaroop Damarla
@ 2013-04-04 23:14 ` Paul Eggleton
[not found] ` <CAFMfyzKMBXx+j6Wx2e=xdaTU2gHsvTqiEsKAmmCm7AKde_5THw@mail.gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2013-04-04 23:14 UTC (permalink / raw)
To: Satya Swaroop Damarla, yocto
On Wednesday 03 April 2013 10:47:02 Satya Swaroop Damarla wrote:
> I have a small issue. On my device, I would like to have Chinese, Japanese,
> Russian, Hebrewish, Greek fonts and all European language special
> characters available for java application based on X.
>
> In general I would like to know a method of adding custom fonts which are
> scalable to X server. I tried browsing oever the internet and in the
> mailing lists but not much success... Suggestions are deeply appreciated...
I'm not much of an expert on this area, but it seems to me this is a pretty
broad question; it covers not just fonts but also character sets. Presumably
if you can get away with only supporting Unicode you can just install a font
that supports a broad range of the unicode characters.
Otherwise, I'm not sure if there is a well-defined set of fonts to cover
everything; however one option would be to look at what fonts desktop-
oriented Linux distributions install by default since they always have to
deal with the issue of working out of the box in a wide variety of locales.
If you have an additional font to install that should be fairly easy - just
copy one of the existing font recipes we have under meta/recipes-graphics/ttf-
fonts and edit it to suit the font. There are additional font recipes in the
meta-oe layer as well:
http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-graphics/ttf-fonts
Once you have the recipe you just need to add it to the image, details on
how to do that can be found here:
http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#usingpoky-extend-customimage
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Installing foreign fonts into the yocto build
[not found] ` <CAFMfyzKMBXx+j6Wx2e=xdaTU2gHsvTqiEsKAmmCm7AKde_5THw@mail.gmail.com>
@ 2013-04-05 7:26 ` Paul Eggleton
2013-04-05 9:35 ` Burton, Ross
0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2013-04-05 7:26 UTC (permalink / raw)
To: Satya Swaroop Damarla, yocto
On Friday 05 April 2013 09:05:34 Satya Swaroop Damarla wrote:
> Thank you Paul.. This was very helpful... From your reply. I understood
> that poky build doesnot support unicode characters set because the german
> special characters are not displayed ... Am I right?
There's nothing inherent about Poky / OpenEmbedded that means it doesn't
support Unicode. Individual pieces of software might have difficulties however.
I just copied over a text file containing "Schrödinger's 😻" (i.e. one German
character and one special one) in UTF-8 to a core-image-sato image. The file
doesn't display properly in the matchbox-terminal application (displaying
garbage, indicating the encoding is incorrect), however in Notes (leafpad) it
displays the ö but not the 😻 (displaying a single box with hex code instead,
indicating that the font is missing that special character).
FYI I read this article recently and found it very useful - you may already
know some or all of this, but just in case:
http://www.joelonsoftware.com/articles/Unicode.html
Cheers,
Paul
PS please keep the discussion on the mailing list, thanks.
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Installing foreign fonts into the yocto build
2013-04-05 7:26 ` Paul Eggleton
@ 2013-04-05 9:35 ` Burton, Ross
0 siblings, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2013-04-05 9:35 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto
On 5 April 2013 08:26, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
> The file
> doesn't display properly in the matchbox-terminal application (displaying
> garbage, indicating the encoding is incorrect)
FWIW, the terminal is based on libvte, so that *should* work. Annoying.
Ross
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-05 9:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03 8:47 Installing foreign fonts into the yocto build Satya Swaroop Damarla
2013-04-04 23:14 ` Paul Eggleton
[not found] ` <CAFMfyzKMBXx+j6Wx2e=xdaTU2gHsvTqiEsKAmmCm7AKde_5THw@mail.gmail.com>
2013-04-05 7:26 ` Paul Eggleton
2013-04-05 9:35 ` Burton, Ross
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.