Re: Upside Down Fu character

From: Mark Leisher <mleisher_at_sofia.nmsu.edu>
Date: Wed, 04 Jan 2012 11:34:40 -0700

On 01/04/2012 10:52 AM, Otto Stolz wrote:
> Hello,
>
> am 2012-01-04 11:57, schrieb vanisaac_at_boil.afraid.org:
>> I tried out this code, it's simple html/CSS,
> ...
>> Specifically, the text "福<div class="txtUpsideDown">福</div>福"
>> renders two right-side-up 福 characters on one line,
>> with the upside-down 福 on the next line.
>
> I have tested the textUpsideDown definition from
> <http://www.codeproject.com/Tips/166266/Making-Text-Upside-down-u>
> with three browsers:
> Firefox 8.0.1,
> Opera 10.52;
> Internet Explorer 8.0.6001.187702
> The latter asks for the user’s consent to interpret scripts,
> before it applies the .txtUpsideDown class definition.
> Cf. attached source file, and attached screen shot for the results.
>
> Apparently, none if these browsers provides the appropriate
> room for the text set upside down; hence, the txtUpsideDown
> class should be amended to comply with this shortcoming.
> However, I have not found any e-mail address of its author,
> “thatraja”, and I am not willing to sign on to codeproject.com,
> Twitter, Facebook, or any other community, just to inform him.
>

Using <span /> instead of <div /> the problem of negative advancement of
the rotated text is still there, but at least the rotated text is inline.

It occurred to me that one of the directional marks might be a crude way
of forcing the rendering engine to advance past the rotated text. I'll
try that later today.

-- 
Mark Leisher
Received on Wed Jan 04 2012 - 12:54:06 CST

This archive was generated by hypermail 2.2.0 : Wed Jan 04 2012 - 12:54:33 CST