Closed
Bug 295862
Opened 20 years ago
Closed 20 years ago
tamil font not used as specced in CSS
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: magesha.50, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 I am using Mozilla firefox to view this website www.kaumaram.com. The website has a stylesheet(http://kaumaram.com/kaumaram1.css) which uses both Tamil font mylaiplain.ttf and english fonts. The tamil fonts in this website are not displayed properly. When I force mozilla to use the tamil fonts by selecting it and clicking "Use my fonts" in the preferences window, the entire page is displayed in the tamil font as against the part of the page that is meant to be in tamil. I have pasted the style file for your reference: /* body background & text color */ body {background-color: #000066} a:link {color: #faebd7; text-decoration: none} a:visited {color: #ffff99; text-decoration: none} a:hover {color: #33ffff; text-decoration: none} a:active {color: #faebd7; text-decoration: none} p.english {font-family: Verdana, Arial, serif; color: #ccffcc; font-size: 14px; text-align: left} p.english-big {font-family: arial, serif; color: #00ffcc; font-size: 16px; text-align: left} p.tamil {font-family: MylaiPlain, serif; color: #ccffcc; font-size: 16px; text-align: left} p.tamila {font-family: MylaiPlain, serif; color: #ccffcc; font-size: 22px; text-align: left;} p.tamil-big {font-family: MylaiPlain, serif; color: #00ffcc; font-size: 18px; text-align: center} p.tamil_big {font-family: MylaiPlain, serif; color: #00ffcc; font-size: 23px; text-align: center} p.english-c {font-family: Verdana, serif; color: #ccffcc; font-size: 18px; text-align: center} p.english-big-c {font-family: arial, serif; color: #00ffcc; font-size: 20px; text-align: center} p.tamil-c {font-family: MylaiPlain, serif; color: #ffff00; font-size: 18px; text-align: right} p.tamil-big-c {font-family: MylaiPlain, serif; color: #ffff00; font-size: 25px; text-align: right} div.tamil {font-family: MylaiPlain, serif; color: #ccffcc; font-size: 16px;} img.top {vertical-align:text-top} img.bottom {vertical-align:text-bottom} img.left {text-align: left} img.right {text-align: right} /* font inside table */ TD.red {color:red } TD.mylai1 {font-family: MylaiPlain, serif; font-size:18px} The fonts specified in this stylesheet are not used when displaying the webpage. Thanks a lot for this bug reporting and fixing service. It is greatly appreciated. Reproducible: Always Steps to Reproduce: 1. visit www.kaumaram.com 2. Download and install Mylaiplain.ttf font from the site 3. Change font to Mylaiplain in the prefeneces tab (alternative attempt) 3. Actual Results: The sections of the page that have to be displayed in the tamil font were displayed in english font. When the font is changed to Mylaiplain in the preferences tab, the whole page is displayed in the same font. In other words, teh fonts specified in the stylesheet are not used. Expected Results: Dislpayed the sections of the page in the appropriate fonts
Comment 1•20 years ago
|
||
*** Bug 295863 has been marked as a duplicate of this bug. ***
Comment 2•20 years ago
|
||
As far as I can tell, the CSS is not referenced. The page uses <FONT FACE=MylaiPlain> to change the font. That said, for some reason the browser doesn't like the font. I experimented with putting the page into quirks mode and changing the font specified, and that worked. So my current hypothesis is that the information saved into the font file is wrong. Anyone know how to tell?
Comment 3•20 years ago
|
||
You are right. The font is a "masquerade font" which contains Tamil glyphs for ASCII characters instead of using the correct Unicode code points. This kind of font is only supported in quirks mode.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Comment 4•20 years ago
|
||
(In reply to comment #3) > The font is a "masquerade font" which contains Tamil glyphs for > ASCII characters instead of using the correct Unicode code points. This kind of > font is only supported in quirks mode. Just curious - how does the system know that this is a "masquerade font" - and not just a font with very fancy glyphs for ASCII characters?
Comment 5•20 years ago
|
||
> how does the system know that this is a "masquerade font" - and > not just a font with very fancy glyphs for ASCII characters? For True Type fonts, from the Encoding ID in the CMAP table. See http://partners.adobe.com/public/developer/opentype/index_cmap.html and bug 195038.
You need to log in
before you can comment on or make changes to this bug.
Description
•