Closed Bug 295863 Opened 20 years ago Closed 20 years ago

tamil font not used as specced in CSS

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 295862

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
*** This bug has been marked as a duplicate of 295862 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.