Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Strecthed Fonts Was: Re: allow blocked content Date: Sat, 28 Jan 2012 10:30:03 +0100 Organization: A noiseless patient Spider Lines: 49 Message-ID: <4F23C01B.9060709@arnowelzel.de> References: <4f1e99e5$0$7618$9b4e6d93@newsspool1.arcor-online.net> <5379446c-6786-47f6-963c-ef67e11b0c9d@z12g2000yqm.googlegroups.com> <3662251.QlheKOReXk@PointedEars.de> <42e026d1-1181-4f1a-8e17-01b835657df2@i18g2000yqf.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="ATQwcILwL7NTAncYyFrc9Q"; logging-data="18603"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yZyh5+enFhiNBuQnvaYGJzTlgdYNfiHQ=" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 In-Reply-To: Cancel-Lock: sha1:g2dMggpLonCQPvODqG9TUcITerQ= Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:10663 Andrew Poulos, 2012-01-26 21:54: > On 26/01/2012 3:17 PM, Michael Haufe (TNO) wrote: >> On Jan 25, 9:49 pm, Andrew Poulos wrote: >>> >>> With a HTA and a HTM having the same HTML 4 Strict doctype elements are >>> displaying in the same on-screen position in the HTA and in IE. One odd >>> thing I've just noticed is that a line of text is longer in IE. >>> >>> I did screen captures and compared the two and it looks like IE has >>> "stretched" the spacing between the letters and/or the letters >>> themselves ever so slightly. >>> >>> The only thing the HTA has that the HTM doesn't is this >>> >>> >> id="testapp" >>> applicationname="Sample" >>> icon="content/sample.ico" >>> border="thin" >>> borderStyle="normal" >>> caption="yes" >>> contextMenu="no" >>> navigable="yes" >>> scroll="no" >>> selection="no" >>> showInTaskbar="yes" >>> singleInstance="yes" >>> windowState="normal"> >>> >>> Why would IE stretch fonts (or the HTA compress them)? >> >> Mind posting a reduced example I could look at? > > I made a simple example that demonstrates the issue here > > Its a zip that contains a HTA and HTM and a CSS file. I don't see any "stretching". The lines differ in length, yes - but not because of "font stretching", but because the text in each line also differs. There is no difference between opening the ind.htm in IE, Firefox or as HTA. -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de