<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Terra Informatica Forums &#187; Tag: font - Recent Posts</title>
<link>http://terrainformatica.com/forums/</link>
<description>Terra Informatica Forums &#187; Tag: font - Recent Posts</description>
<language>en</language>
<pubDate>Sun, 19 May 2013 06:43:52 +0000</pubDate>

<item>
<title>andrew on "composite font"</title>
<link>http://terrainformatica.com/forums/topic.php?id=736#post-3752</link>
<pubDate>Tue, 18 Nov 2008 22:39:08 +0000</pubDate>
<dc:creator>andrew</dc:creator>
<guid isPermaLink="false">3752@http://terrainformatica.com/forums/</guid>
<description><p>Technically that is feasible. Yes, speed of parsing will be slightly lower.<br />
Problem is that it makes sense for Far East and some Indian fonts. For the rest this feature is a bit doubtful. </p>
<p>I suspect that for particular situation you have some simple preprocessor would be just enough. It should convert text into spans with needed font styling. I do not like such solutions in general but this could be implemented pretty easy.
</p></description>
</item>
<item>
<title>mliu on "composite font"</title>
<link>http://terrainformatica.com/forums/topic.php?id=736#post-3746</link>
<pubDate>Tue, 18 Nov 2008 01:01:08 +0000</pubDate>
<dc:creator>mliu</dc:creator>
<guid isPermaLink="false">3746@http://terrainformatica.com/forums/</guid>
<description><p>it would be very neat and useful if we were able to specify a WPF-like composite font for unicode ranges. like: Font1 #00-FF, Font2 #xxxx-xxxx</p>
<p>not sure how feasible this would be; and what it would mean for performance...
</p></description>
</item>
<item>
<title>zxzvo on "Antialiasing"</title>
<link>http://terrainformatica.com/forums/topic.php?id=335#post-1732</link>
<pubDate>Tue, 18 Dec 2007 12:29:04 +0000</pubDate>
<dc:creator>zxzvo</dc:creator>
<guid isPermaLink="false">1732@http://terrainformatica.com/forums/</guid>
<description><p>These are very good news, thank you. Is it much to ask when will be the next build?<br />
Can't wait to play with the new version.
</p></description>
</item>
<item>
<title>andrew on "Antialiasing"</title>
<link>http://terrainformatica.com/forums/topic.php?id=335#post-1730</link>
<pubDate>Tue, 18 Dec 2007 11:43:55 +0000</pubDate>
<dc:creator>andrew</dc:creator>
<guid isPermaLink="false">1730@http://terrainformatica.com/forums/</guid>
<description><p>I will add explicit settings for font smoothing in the next build.</p>
<pre><code>enum HTMLAYOUT_OPTIONS
{
   HTMLAYOUT_SMOOTH_SCROLL = 1, // value:TRUE - enable, value:FALSE - disable, enabled by default
   HTMLAYOUT_CONNECTION_TIMEOUT = 2, // value: milliseconds, connection timeout of http client
   HTMLAYOUT_HTTPS_ERROR = 3, // value: 0 - drop connection, 1 - use builtin dialog, 2 - accept connection silently
   HTMLAYOUT_FONT_SMOOTHING = 4, // value: 0 - system default, 1 - no smoothing, 2 - std smoothing, 3 - clear type
};

EXTERN_C BOOL HLAPI HTMLayoutSetOption(HWND hWndHTMLayout, UINT option, UINT value );</code></pre>
<p>But this option will be active for the whole process as I am using static font table.
</p></description>
</item>
<item>
<title>zxzvo on "Antialiasing"</title>
<link>http://terrainformatica.com/forums/topic.php?id=335#post-1727</link>
<pubDate>Tue, 18 Dec 2007 04:02:32 +0000</pubDate>
<dc:creator>zxzvo</dc:creator>
<guid isPermaLink="false">1727@http://terrainformatica.com/forums/</guid>
<description><p>Antialiasing is a must on some screens. Would be nice to have a property or extra parameter (depends of the implementation) where we might choose for font quality. On my screen looks much better clear type. The code is something like this:</p>
<p>...<br />
LOGFONT lf;<br />
memset(&#38;lf, 0, sizeof(LOGFONT));<br />
HFONT hFontOld, hFontNew;<br />
....<br />
GetObject(hFontOld,sizeof(LOGFONT),&#38;lf);<br />
....<br />
int nOldSmooth;<br />
SystemParametersInfo(SPI_GETFONTSMOOTHINGCONTRAST, 0, &#38;nOldSmooth, FALSE);</p>
<p>GetObject(hFontOld,sizeof(LOGFONT),&#38;lf); //not necessary if you have already LOGFONT structure</p>
<p>lf.lfQuality = CLEARTYPE_QUALITY; //for me at least, but can be also others</p>
<p>int nSmooth = 2200; //this is also adjustable<br />
SystemParametersInfo(SPI_SETFONTSMOOTHINGCONTRAST, 0, &#38;nSmooth, FALSE);</p>
<p>hFontNew = CreateFontIndirect(&#38;lf);<br />
hFontOld = (HFONT) SelectObject(hdc, hFontNew);</p>
<p>DrawText(...<br />
TextOut(...<br />
ExtTextOut(...</p>
<p>SelectObject(hdc, hFontOld);<br />
DeleteObject(hFontNew);<br />
SystemParametersInfo(SPI_SETFONTSMOOTHINGCONTRAST, 0, &#38;nOldSmooth, FALSE);
</p></description>
</item>
<item>
<title>bobef on "Antialiasing"</title>
<link>http://terrainformatica.com/forums/topic.php?id=335#post-1722</link>
<pubDate>Mon, 17 Dec 2007 08:22:26 +0000</pubDate>
<dc:creator>bobef</dc:creator>
<guid isPermaLink="false">1722@http://terrainformatica.com/forums/</guid>
<description><p>Well, generally, I don't like cleartype. But the reason I am requesting this features is because in my actual app, the font I use is more readable in cleartype than standard smoothing or no smoothing, but when I use SystemParametersInfoA to set the smoothing system wide to cleartype (SPI_SETFONTSMOOTHING,SPI_SETFONTSMOOTHINGTYPE) it just won't work on my machine. It is enabling the smoothing, but only the standard one and not cleartype. So maybe it is appropriate to be able to explicitly set the smoothing to cleartype. It just depends on the actual fonts how they will look... Some look better with no AA, some look better with cleartype, etc... It also depends on the size. So to the queston:</p>
<p>&#62; I do not see scenarios when you need explicit cleartype settings. Am I wrong?</p>
<p>I think that specific cleartype option will be useful.
</p></description>
</item>
<item>
<title>DmitryYakimov on "Antialiasing"</title>
<link>http://terrainformatica.com/forums/topic.php?id=335#post-1721</link>
<pubDate>Mon, 17 Dec 2007 04:27:11 +0000</pubDate>
<dc:creator>DmitryYakimov</dc:creator>
<guid isPermaLink="false">1721@http://terrainformatica.com/forums/</guid>
<description><p>imho we do not need cleartype while doing animation - it is waste of time (especially on PDA) but - now wince build already disables cleartype in animation (may be it is a bug, not feature, but it is very useful bug :)
</p></description>
</item>
<item>
<title>andrew on "Antialiasing"</title>
<link>http://terrainformatica.com/forums/topic.php?id=335#post-1720</link>
<pubDate>Sun, 16 Dec 2007 12:16:57 +0000</pubDate>
<dc:creator>andrew</dc:creator>
<guid isPermaLink="false">1720@http://terrainformatica.com/forums/</guid>
<description><p>Oh, forgot about this completely...<br />
Thanks, Dmitry. </p>
<p>To bobef:<br />
...thinking of how to provide settings for switching this.<br />
So far Windows supports two font smoothing technologies: standard antialiasing and cleartype. As far as I understand you need these three values: </p>
<p>0) system default smoothing.<br />
1) no-smoothing.<br />
2) standard smoothing.</p>
<p>I do not see scenarios when you need explicit cleartype settings. Am I wrong?
</p></description>
</item>
<item>
<title>DmitryYakimov on "Antialiasing"</title>
<link>http://terrainformatica.com/forums/topic.php?id=335#post-1719</link>
<pubDate>Sun, 16 Dec 2007 01:52:25 +0000</pubDate>
<dc:creator>DmitryYakimov</dc:creator>
<guid isPermaLink="false">1719@http://terrainformatica.com/forums/</guid>
<description><p>May be it is about ANTIALIASED_QUALITY/NONANTIALIASED_QUALITY and CLEARTYPE_QUALITY in CreateFont...
</p></description>
</item>
<item>
<title>andrew on "Antialiasing"</title>
<link>http://terrainformatica.com/forums/topic.php?id=335#post-1718</link>
<pubDate>Sat, 15 Dec 2007 11:34:03 +0000</pubDate>
<dc:creator>andrew</dc:creator>
<guid isPermaLink="false">1718@http://terrainformatica.com/forums/</guid>
<description><p>Font smoothing in Windows is a system wide setting as far as I know.<br />
If you will find how to set it for single process only then you can do such fine control on your side.<br />
Just in case: I am using ::ScriptTextOut and ::TextOut functions to draw text.
</p></description>
</item>
<item>
<title>bobef on "Antialiasing"</title>
<link>http://terrainformatica.com/forums/topic.php?id=335#post-1717</link>
<pubDate>Sat, 15 Dec 2007 02:14:38 +0000</pubDate>
<dc:creator>bobef</dc:creator>
<guid isPermaLink="false">1717@http://terrainformatica.com/forums/</guid>
<description><p>Hi,</p>
<p>this is a feature request for antialiasing. Although it could be turned on using the Win32 API, it would be nice if one had a finer control and could enable it only for HTMLayout, instead for the whole system.</p>
<p>Thanks,<br />
bobef
</p></description>
</item>
<item>
<title>andrew on "Load fonts from files?"</title>
<link>http://terrainformatica.com/forums/topic.php?id=319#post-1647</link>
<pubDate>Fri, 23 Nov 2007 13:17:14 +0000</pubDate>
<dc:creator>andrew</dc:creator>
<guid isPermaLink="false">1647@http://terrainformatica.com/forums/</guid>
<description><p>First of all standard CSS used to have such feature as:</p>
<pre><code>@font-face
{
    src:url(\&#34;assets/bkant.ttf\&#34;);
    fontFamily: BookAntiqua;
/*  unicodeRange: U+0041-U+007F */
}</code></pre>
<p>CSS 2.0: <a href="http://www.w3.org/TR/REC-CSS2/fonts.html#font-descriptions" rel="nofollow">http://www.w3.org/TR/REC-CSS2/fonts.html#font-descriptions</a><br />
But it was removed from CSS 2.1<br />
(but added again in CSS3: <a href="http://www.w3.org/TR/css3-webfonts/#font-descriptions)" rel="nofollow">http://www.w3.org/TR/css3-webfonts/#font-descriptions)</a></p>
<p>Currently it is supported only by IE and Safari(?)</p>
<p>In any case...</p>
<p>Installation of fonts from remote sources is far beyond from the scope of embeddable HTML/CSS engine and I am not going to support this in HTMLayout.</p>
<p>If needed you can do this on your side easily. Put needed fonts in e.g. resources or files nearby and call ::AddFontResourceEx with required flags.
</p></description>
</item>
<item>
<title>bobef on "Load fonts from files?"</title>
<link>http://terrainformatica.com/forums/topic.php?id=319#post-1643</link>
<pubDate>Fri, 23 Nov 2007 00:47:56 +0000</pubDate>
<dc:creator>bobef</dc:creator>
<guid isPermaLink="false">1643@http://terrainformatica.com/forums/</guid>
<description><p>OK, then consider this a feature request/suggestion:</p>
<p>.myclass<br />
{<br />
   font-family: url(myfont.ttf);<br />
}</p>
<p>Then this request can go to HLN_LOAD_DATA and so on...
</p></description>
</item>
<item>
<title>andrew on "Load fonts from files?"</title>
<link>http://terrainformatica.com/forums/topic.php?id=319#post-1642</link>
<pubDate>Thu, 22 Nov 2007 12:11:48 +0000</pubDate>
<dc:creator>andrew</dc:creator>
<guid isPermaLink="false">1642@http://terrainformatica.com/forums/</guid>
<description><p>htmlayout uses *only* fonts that are installed in the system already. No font installation/downloads happen. </p>
<p>And yet:</p>
<p>- htmlayout does not modify any system settings and folders;<br />
- htmlayout does not use Windows Registry directly and is not modifying it;<br />
- htmlayout does not create any files on host machine (single exception: for loading remote cursor files it may create temporary file in temp folders)<br />
- *all* requests for remote data are sent first to the host application by HLN_LOAD_DATA notification.</p>
<p>That are basic requirements of embeddable engine and HTMLayout follows them strictly.
</p></description>
</item>
<item>
<title>bobef on "Load fonts from files?"</title>
<link>http://terrainformatica.com/forums/topic.php?id=319#post-1639</link>
<pubDate>Thu, 22 Nov 2007 03:28:24 +0000</pubDate>
<dc:creator>bobef</dc:creator>
<guid isPermaLink="false">1639@http://terrainformatica.com/forums/</guid>
<description><p>Hi,</p>
<p>is there some way I can sort of embed fonts. Say I need some not-so-popular language in my app. How should I provide it to the user if I don't have the rights to install it in the OS? Would some thing like this work: .myfont{font-fimily:"myfont.ttf";}<br />
Or can I intercept loading of fonts?</p>
<p>Thanks,<br />
bobef
</p></description>
</item>
<item>
<title>andrew on "Problem with combination TAG FONT"</title>
<link>http://terrainformatica.com/forums/topic.php?id=50#post-280</link>
<pubDate>Fri, 23 Mar 2007 16:56:13 +0000</pubDate>
<dc:creator>andrew</dc:creator>
<guid isPermaLink="false">280@http://terrainformatica.com/forums/</guid>
<description><p>&#60;font&#62; is strictly inline element by specification and &#60;hr&#62; is a block element.<br />
When parser gets block element inside some inline it unconditionally closes all open inline elements. In this case this &#60;font&#62; will be closed before parsing of &#60;hr&#62;.
</p></description>
</item>
<item>
<title>I3ok on "Problem with combination TAG FONT"</title>
<link>http://terrainformatica.com/forums/topic.php?id=50#post-278</link>
<pubDate>Fri, 23 Mar 2007 03:43:52 +0000</pubDate>
<dc:creator>I3ok</dc:creator>
<guid isPermaLink="false">278@http://terrainformatica.com/forums/</guid>
<description><p>I have this problem with the HTMLLayout component.</p>
<p>With the following sintax:<br />
&#60;FONT size=4&#62;<br />
&#60;HR&#62;<br />
&#60;FONT face=Arial&#62; ... example text ... &#60;/FONT&#62;<br />
&#60;/FONT&#62;</p>
<p>I have one wrong renderizzazione.</p>
<p>Address with Example file html:<br />
<a href="http://www.prometeo.com/italian/download/file/FONT_Documento.Html" rel="nofollow">http://www.prometeo.com/italian/download/file/FONT_Documento.Html</a><br />
List Image with problem simulation:<br />
<a href="http://www.prometeo.com/italian/download/file/FONT_Browser.JPG" rel="nofollow">http://www.prometeo.com/italian/download/file/FONT_Browser.JPG</a><br />
<a href="http://www.prometeo.com/italian/download/file/FONT_HTMLLayout.JPG" rel="nofollow">http://www.prometeo.com/italian/download/file/FONT_HTMLLayout.JPG</a></p>
<p>Help me.<br />
Thank's
</p></description>
</item>

</channel>
</rss>
