nanogui: Performance : FLTK+Nxlib+Nano-X


Previous by date: 3 Aug 2012 01:20:44 -0000 Re: Performance : FLTK+Nxlib+Nano-X, Arun Ram M
Next by date: 3 Aug 2012 01:20:44 -0000 Re: Performance : FLTK+Nxlib+Nano-X, Pete Klemm
Previous in thread: 3 Aug 2012 01:20:44 -0000 Re: Performance : FLTK+Nxlib+Nano-X, Arun Ram M
Next in thread: 3 Aug 2012 01:20:44 -0000 Re: Performance : FLTK+Nxlib+Nano-X, Pete Klemm

Subject: Re: [nanogui] Performance : FLTK+Nxlib+Nano-X
From: Arun Ram M ####@####.####
Date: 3 Aug 2012 01:20:44 -0000
Message-Id: <CADA=BE5+fROLqMm4f4dyrsiAvpiiCPePVqzSaRKKHqs7_dmXkg@mail.gmail.com>

Pete ,

I managed to add support for true type fonts.
As i mentioned i cross compiled freetype 2 and made the changes in Nano-X.
But using a ttf font, am unable to display Cyrillic characters, even
though the ttf font file contains cyrillic characters.
Earlier i was using pcf fonts and i was able to display cyrillic and
all utf-8 characters. The only change i made is to add freetype 2.
I seem to be missing something.

Also, would you know where i can find good quality unicode ttf fonts ?
the free ones i have come across till now dont give clear text .

- Arun

On Thu, Aug 2, 2012 at 9:52 AM, Arun Ram M ####@####.#### wrote:
> Pete ,
>
> No, i haven't added freetype support. Am currently using pcf fonts only.
> Have been trying to debug it and it looks like it has something to do
> with timers from the mouse event handling for the touchscreen. Haven't
> yet figured out exactly ! Any ideas ?
> Do you have this setup for an ARM target ?
>
> Now that you mention True Type fonts, i have been trying to add
> support for true type fonts. I cross compiled freetype 2 for the arm
> target and modified nano-x appropriately. that worked fine.
> Now while i try to enable xft in FLTK, i understand i needed to build
> XFT. Trying to build that, i realized XFT needs FontConfig.
> So seems like am getting into a chain of dependencies here and trying
> to build all those libraries for the ARM target !
> Is there a simpler way to do this ?
>
> Thanks,
> Arun
>
> On Wed, Aug 1, 2012 at 9:48 PM, Pete Klemm ####@####.#### wrote:
>> Arun,
>>
>> I have the same setup FLTK-1.3, NXLIB (development head),
>> Nano-X (development head) with FreeType2 enabled.
>>
>> If you are using Truetype fonts it may take a long time
>> to load the font for the first time, but after that it
>> is cached (if enabled). If TrueType, what version of
>> FreeType are you using. I am using FreeType 2.3.9
>>
>> Pete
>>
>>
>> On 7/31/2012 12:37 PM, Arun Ram M wrote:
>>>
>>> Hello,
>>>
>>> Am using FLTK 1.3 , Nxlib (development head) , Nano-X (development
>>> head) for an ARM touch screen target.
>>>
>>> I upgraded it from FLTK 1.1.7+Nxlib 0.45 + Nano-X .91 to add UTF-8
>>> support.
>>>
>>> On a button press, am displaying text in an information box. I see a
>>> long delay for the text to be rendered. But if i keep the touch screen
>>> pressed after the button press, the rendering is extremely quickly.
>>>
>>> I tried this with FLTK1.1.7 + the latest of nxlib+nano-x and this
>>> delay was not seen.
>>>
>>> Unable to understand why this could be happening. Any ideas ?
>>>
>>> Thanks,
>>> Arun
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: ####@####.####
>>> For additional commands, e-mail: ####@####.####
>>>
>>>
>>>
>>

Previous by date: 3 Aug 2012 01:20:44 -0000 Re: Performance : FLTK+Nxlib+Nano-X, Arun Ram M
Next by date: 3 Aug 2012 01:20:44 -0000 Re: Performance : FLTK+Nxlib+Nano-X, Pete Klemm
Previous in thread: 3 Aug 2012 01:20:44 -0000 Re: Performance : FLTK+Nxlib+Nano-X, Arun Ram M
Next in thread: 3 Aug 2012 01:20:44 -0000 Re: Performance : FLTK+Nxlib+Nano-X, Pete Klemm


Powered by ezmlm-browse 0.20.