|
From: Jerry E. <je...@No...> - 2011-05-06 13:46:00
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi Stephan<br>
<br>
Yes - bitmaps for text without transforms, paths for text with
transforms. But the additional question is about the
implementation. The current Windows implementation does this:<br>
<br>
</font><tt>case glyph_ren_agg_gray8:<br>
...<br>
m_path32.remove_all();<br>
decompose_win32_glyph_outline(m_gbuf,<br>
total_size,<br>
m_flip_y, <br>
m_affine,<br>
m_path32);<br>
m_rasterizer.add_path(m_curves32);<br>
</tt><font face="Helvetica, Arial, sans-serif"><br>
</font><font face="Helvetica, Arial, sans-serif">Am I right in
assuming that </font><tt>m_curves32 </tt><font face="Helvetica,
Arial, sans-serif">can be treated </font>as a VertexSource for
drawing the glyph as a path?<br>
<br>
@Petr - thanks. Agree about overheads of path storage but I'm
looking for something quick to implement :)<br>
<br>
Thanks all.<br>
<br>
Jerry<br>
<br>
On 06/05/2011 14:01, Stephan Aßmus wrote:
<blockquote
cite="mid:e24...@em..."
type="cite">
<pre wrap="">You probably have to distinguish between transformed and untransformed text. For untransformed text you want to use bitmap glyphs for speed, but these cannot be transformed. Did I understand the problem correctly?
Best regards,
-Stephan
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/whatsupgold-sd">http://p.sf.net/sfu/whatsupgold-sd</a>
_______________________________________________
Vector-agg-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Vec...@li...">Vec...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/vector-agg-general">https://lists.sourceforge.net/lists/listinfo/vector-agg-general</a>
</pre>
</blockquote>
</body>
</html>
|