<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Systemschrift Objekt erstellen]]></title><description><![CDATA[<p>Hallo!</p>
<p>Wie kann ich ein CFont (CreateFont) erstellen, dass die Systemschrift verwendet - ich glaube MS Shell Dlg - und die korrekte Größe? Der erste Parameter von CreateFont (nHeight) erwartet die Größe in &quot;logical units&quot;. Wie kann ich die systemspezifische Größe herausbekommen?</p>
<p>Grüsse Gerd</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/198681/systemschrift-objekt-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Apr 2026 00:47:24 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/198681.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Nov 2007 08:28:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Systemschrift Objekt erstellen on Sat, 24 Nov 2007 08:28:47 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Wie kann ich ein CFont (CreateFont) erstellen, dass die Systemschrift verwendet - ich glaube MS Shell Dlg - und die korrekte Größe? Der erste Parameter von CreateFont (nHeight) erwartet die Größe in &quot;logical units&quot;. Wie kann ich die systemspezifische Größe herausbekommen?</p>
<p>Grüsse Gerd</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1409197</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1409197</guid><dc:creator><![CDATA[GerdGast]]></dc:creator><pubDate>Sat, 24 Nov 2007 08:28:47 GMT</pubDate></item><item><title><![CDATA[Reply to Systemschrift Objekt erstellen on Sat, 24 Nov 2007 10:08:09 GMT]]></title><description><![CDATA[<p>8 Punkt ist Standard. 1 Punkt = 1/72 Zoll. Also umrechnen.<br />
CFont::CreatePointFontIndirect macht das für Dich<br />
<a href="http://msdn2.microsoft.com/en-us/library/1d59y970(VS.80).aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/1d59y970(VS.80).aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1409240</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1409240</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Sat, 24 Nov 2007 10:08:09 GMT</pubDate></item><item><title><![CDATA[Reply to Systemschrift Objekt erstellen on Sat, 24 Nov 2007 12:09:13 GMT]]></title><description><![CDATA[<p>Martin Richter schrieb:</p>
<blockquote>
<p>8 Punkt ist Standard. 1 Punkt = 1/72 Zoll. Also umrechnen.<br />
CFont::CreatePointFontIndirect macht das für Dich<br />
<a href="http://msdn2.microsoft.com/en-us/library/1d59y970(VS.80).aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/1d59y970(VS.80).aspx</a></p>
</blockquote>
<p>Die Umrechnung verstehe nicht ganz. CreatePointFontIndirect erwartet eine Schriftgröße in Pixeln. 1 Punkt ist 1/72 (72 = dpi?). Wie komme ich nun von Point auf Pixel?</p>
<p>Grüsse Gerd</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1409296</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1409296</guid><dc:creator><![CDATA[GerdGast]]></dc:creator><pubDate>Sat, 24 Nov 2007 12:09:13 GMT</pubDate></item><item><title><![CDATA[Reply to Systemschrift Objekt erstellen on Sat, 24 Nov 2007 18:39:17 GMT]]></title><description><![CDATA[<p>Was liest Du denn. Es werden 1/10 Punkt als lfHeigt erwartet.<br />
Die Umrechnung kannst Du selbst im MFC Code nachlesen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1409503</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1409503</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Sat, 24 Nov 2007 18:39:17 GMT</pubDate></item><item><title><![CDATA[Reply to Systemschrift Objekt erstellen on Sun, 25 Nov 2007 08:00:14 GMT]]></title><description><![CDATA[<p>Martin Richter schrieb:</p>
<blockquote>
<p>Was liest Du denn. Es werden 1/10 Punkt als lfHeigt erwartet.<br />
Die Umrechnung kannst Du selbst im MFC Code nachlesen...</p>
</blockquote>
<p>Ich war nur etwas irritiert. Da in der Parameterbeschreibung steht &quot;For instance, set lfHeight to 120 to request a 12-point font.&quot;. Im Quellcode steht aber</p>
<pre><code class="language-cpp">// request a 12-pixel-height font
lf.lfHeight = 120;
</code></pre>
<p>So dass ich nun nicht wusste ob lfHeight die Höhe in Pixel oder in Point angibt.</p>
<p>Nun würde ich aber dennoch gerne wissen wie ich an die Point-Größe der Systemschriftart komme. Windows &lt; Vista verwendet 8pt. Vista hingegen hat 9pt als Standard.</p>
<p>Grüsse Gerd</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1409673</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1409673</guid><dc:creator><![CDATA[GerdGast]]></dc:creator><pubDate>Sun, 25 Nov 2007 08:00:14 GMT</pubDate></item><item><title><![CDATA[Reply to Systemschrift Objekt erstellen on Sun, 25 Nov 2007 13:49:03 GMT]]></title><description><![CDATA[<p>Das macht IMHO der Font Mapper automatisch. MS Shell Dlg ist kein echter Font.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1409802</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1409802</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Sun, 25 Nov 2007 13:49:03 GMT</pubDate></item></channel></rss>