[links] DirectFB font rendering
Harry Lin D332 (中光電) <[email protected]> Wed, 8 Aug 2007 09:46:06 +0800
| Newsgroups | gmane.comp.web.links.list |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============0987951461==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C7D95D.E2499248"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C7D95D.E2499248
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable
Hi,
I used the TTF font rasterizer to make more than 30000 pngs for Chinese =
font.
http://linuxfromscratch.org/pipermail/links-list/2003-November/004302.htm=
l
And after making Links, the size of the execution file is 114.3M =
=A1K=A1K.
I can=A1=A6t run the program, as I run ./links, the process is killed =
instantly. :-(
=20
So I want to render the texts by DrawString() instead of Blit() of the =
DFBSurface API (directfb.c directfb_draw_bitmap() ), just drawing the =
texts with a ttf font directly rather than bliting from the pngs
Is it realizable? Thanks.
------_=_NextPart_001_01C7D95D.E2499248
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"chmetcnv"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:=B7s=B2=D3=A9=FA=C5=E9;
panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
{font-family:"\@=B7s=B2=D3=A9=FA=C5=E9";
panose-1:2 2 3 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Times New Roman";
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
/* Page Definitions */
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
layout-grid:18.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DZH-TW link=3Dblue vlink=3Dpurple =
style=3D'text-justify-trim:punctuation'>
<div class=3DSection1 style=3D'layout-grid:18.0pt'>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:12.0pt'>Hi,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:12.0pt'>I used the TTF font rasterizer to make more =
than 30000
pngs for Chinese font.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:12.0pt'><a
href=3D"http://linuxfromscratch.org/pipermail/links-list/2003-November/00=
4302.html">http://linuxfromscratch.org/pipermail/links-list/2003-November=
/004302.html</a><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:12.0pt'>And after making Links, the size of the =
execution file
is <st1:chmetcnv TCSC=3D"0" NumberType=3D"1" Negative=3D"False" =
HasSpace=3D"False"
SourceValue=3D"114.3" UnitName=3D"m" w:st=3D"on">114.3M</st1:chmetcnv> =
=A1K=A1K.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:12.0pt'>I can=A1=A6t run the program, as I run =
./links, the process
is killed instantly. </span></font><font face=3DWingdings><span =
lang=3DEN-US
style=3D'font-family:Wingdings'>L</span></font><span =
lang=3DEN-US><o:p></o:p></span></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:12.0pt'>So I want to render the texts by DrawString() =
instead
of Blit() of the DFBSurface API (directfb.c directfb_draw_bitmap() ), =
just drawing
the texts with a ttf font directly rather than bliting from the =
pngs<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:12.0pt'>Is it realizable? =
Thanks.<o:p></o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C7D95D.E2499248--
--===============0987951461==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
links-list mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/links-list
--===============0987951461==--