<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>用科技创造明天 &#187; 字体</title>
	<atom:link href="http://www.cumt.org/blog/tag/%e5%ad%97%e4%bd%93/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cumt.org</link>
	<description>Visual Studio, Oracle, Java, Visual Basic, PHP, Mac, Windows, Linux, FreeBSD</description>
	<lastBuildDate>Wed, 01 Feb 2012 02:41:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>为啥 10pt 的字会变成 9.75pt</title>
		<link>http://www.cumt.org/blog/121</link>
		<comments>http://www.cumt.org/blog/121#comments</comments>
		<pubDate>Fri, 13 Feb 2009 14:11:54 +0000</pubDate>
		<dc:creator>thunderw</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[字体]]></category>

		<guid isPermaLink="false">http://www.cumt.org/?p=121</guid>
		<description><![CDATA[问题的提出： 为啥在用VisualBasic 画画面，或者用某些工具画报表的时候，会出现画上10磅字保存之后，之际上得到的是9.75磅的字？ 理论基础： 1 inch = 72 PostScript points 而 Windows 的默认解析度是 96DPI 结论： 当我们要显示一个10pt的字的时候，需要几个像素呢： 10/72*96 = 13.33(13⅓)。当然我们是无法显示13又1/3个像素的，于是只能显示为13像素。再反推回来： 13/96*72 = 9.75  &#8212; 我们的到的实际上是9.75磅的字。 同样，11 磅的字会变成11.25pt， 而9磅的字、10.5磅的字和12磅的字则不会变。 另外，如果改变了Windows的解析度，则上述想象会有不同的表现。 字体大小对照表： pt @96DPI @120DPI 理论像素数 实际像素数 实际的pt数 理论像素数 实际像素数 实际的pt数 8 10.67 11 8.25 13.33 13 7.8 9 12&#160;&#160;&#160; 12 9 15&#160;&#160;&#160; 15 9 10 13.33 13 [...]]]></description>
		<wfw:commentRss>http://www.cumt.org/blog/121/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

