« Return to Thread: GDI+ Font Rendering

Re: GDI+ Font Rendering

by Cory Nelson :: Rate this Message:

Reply to Author | View in Thread

If you want speed, straight up Uniscribe is the way to go. GDI's funcs
use that under the hood.  If you use it directly, there are a few
structures you can cache to make rendering go much quicker.

On Sat, Mar 14, 2009 at 2:30 PM, Petr Kobalíček
<kobalicek.petr@...> wrote:

> Hi,
>
> I readed some time document that shows that GDI+ text rendering is
> slower than pure GDI text rendering. I not remember article address,
> but I think that if you want really fast text renderer, use pure GDI
> or write you own text blitter using SSE2.
>
> GDI text rendering is also not too fast (it's probably implemented in
> pure C without MMX/SSE).
>
> Cheers
> - Petr
>
> 2009/3/14 George <georgios_vlachakis@...>:
>> Stephan Assmus wrote:
>>> Hi,
>>>
>>>
>>>> I read somewhere that GDI+ uses hardware accelerated font rendering (or
>>>> something along those lines). If this is correct, is it also correct
>>>> that switching to GDI+ font rendering (only) would give me a performance
>>>> boost? I seem to have a bootleneck in my font rendering pipeline.
>>>>
>>>
>>> Are you already using a bitmap cache? If not, this may give you a substantial performance boost. Depends a bit on the fact whether you have transformed text or straight text only.
>>>
>>> Best regards,
>>> -Stephan
>>>
>>> ------------------------------------------------------------------------------
>>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>>> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
>>> software that enables intelligent coding and step-through debugging.
>>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>>>
>> I am transforming text and I am using cache manager as the samples
>> suggest. However, I think the problem may be the fact that prior to
>> sending to the scanline I am doing a path_storage.concat(char_glyph) to
>> build up the text-string plus other things, so I will try to change my
>> logic. Changing it will also facilitate be being able to test GDI+
>> performance.
>>
>>
>> ------------------------------------------------------------------------------
>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
>> software that enables intelligent coding and step-through debugging.
>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>> _______________________________________________
>> Vector-agg-general mailing list
>> Vector-agg-general@...
>> https://lists.sourceforge.net/lists/listinfo/vector-agg-general
>>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Vector-agg-general mailing list
> Vector-agg-general@...
> https://lists.sourceforge.net/lists/listinfo/vector-agg-general
>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Vector-agg-general mailing list
Vector-agg-general@...
https://lists.sourceforge.net/lists/listinfo/vector-agg-general

 « Return to Thread: GDI+ Font Rendering