<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Give me a break [Char] !</title><link>http://blogs.msdn.com/michkap/archive/2006/06/21/641030.aspx</link><description>Over on the Shell team, Jeff Miller is one of those very cool developers who knows how to get stuff done. And I am not just saying that because he let me fix a bug in the Shell's code ( this bug , in fact 1 ). Anyway, he sent email to one of the internal</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Give me a break [Char] !</title><link>http://blogs.msdn.com/michkap/archive/2006/06/21/641030.aspx#641702</link><pubDate>Wed, 21 Jun 2006 19:29:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:641702</guid><dc:creator>Michael S. Kaplan</dc:creator><description>A comment was accidentally deleted, someone asking about what CTRL+BACKSPACE was adding in Notepad -- it is U+007f (everyone's favorite backspace control character, of course!)....</description></item><item><title>re: Give me a break [Char] !</title><link>http://blogs.msdn.com/michkap/archive/2006/06/21/641030.aspx#643948</link><pubDate>Fri, 23 Jun 2006 11:15:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:643948</guid><dc:creator>Gabe</dc:creator><description>I'm not sure it even makes sense to have this as a characteristic of a font. Shouldn't it be per-language or per-script?</description></item><item><title>re: Give me a break [Char] !</title><link>http://blogs.msdn.com/michkap/archive/2006/06/21/641030.aspx#7434218</link><pubDate>Mon, 04 Feb 2008 14:29:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7434218</guid><dc:creator>Andrew West</dc:creator><description>&lt;p&gt;Googling desperately for a solution to a problem with a font I have just created, I find that all roads lead back to SiaO!&lt;/p&gt;
&lt;p&gt;I've just created a font that, for reasons I'd best leave unexplained, has a non-blank glyph for U+0020. My problem is that when I type text using the font in Notepad everything is fine as long as I just type alphabetic letters (a..z, A..Z and space), but as soon as I type any other character (e.g. a comma) my space glyph suddenly appears overlaying the first character on the line. And in Word 2003, my space glyph always appears at the end of every line whatever I type (even blank lines). I guessed that this must be because Windows was displaying my space glyph as the &amp;quot;break character&amp;quot;, but when I changed the value of usBreakChar in the OS/2 table from &amp;quot;32&amp;quot; (i.e. U+0020) to &amp;quot;84&amp;quot; (i.e. U+0054, which is blank in my font ... because &amp;quot;T&amp;quot; is blank) there is no change in behaviour, and the glyph for U+0020 continues to be used for the break character. Which I guess indicates that the actual value of usBreakChar is being ignored, and probably a hard-coded glyph index is being used :-(&lt;/p&gt;
&lt;p&gt;The solution which I am going to try this evening is to give U+0020 a blank glyph, and put the space glyph somewhere else; then add in a GSUB table that unconditionally substitutes the blank space glyph with my actual space glyph -- just hope it works.&lt;/p&gt;
&lt;p&gt;Or an alternative solution worth trying might be to make glyph id 3 blank but not mapped to U+0020, and instead map U+0020 to a non-blank glyph elsewhere in the font. Either way, it's a bit annoying to have to use hacks to get a non-blank space character.&lt;/p&gt;</description></item><item><title>re: Give me a break [Char] !</title><link>http://blogs.msdn.com/michkap/archive/2006/06/21/641030.aspx#7450479</link><pubDate>Tue, 05 Feb 2008 02:30:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7450479</guid><dc:creator>Andrew West</dc:creator><description>&lt;p&gt;Just in case anyone is interested, the OpenType solution works (at least with apps that support OpenType features), but my alternative solution does not, as it appears from experimentation that the glyph that is mapped to U+0020 is always used as the break character, whatever its glyph ID, and regardless of the value of usBreakChar.&lt;/p&gt;</description></item></channel></rss>