Issue 472938 in chromium: Alvi Lahori Nastaleeq and Jameel Noori Nastaleeq fonts are not being displayed

116 views
Skip to first unread message

chro...@googlecode.com

unread,
Apr 2, 2015, 1:21:44 AM4/2/15
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Cr-Content Pri-2 Via-Wizard Type-Bug OS-Windows

New issue 472938 by saadat.m...@gmail.com: Alvi Lahori Nastaleeq and Jameel
Noori Nastaleeq fonts are not being displayed
https://code.google.com/p/chromium/issues/detail?id=472938

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/41.0.2272.118 Safari/537.36

Example URL:
http://urduweb.org/mehfil or https://jsfiddle.net/8sb1w706/

Steps to reproduce the problem:
1. Go to http://urduweb.org/mehfil (or https://jsfiddle.net/8sb1w706/ , or
http://cricnama.com).

What is the expected behavior?
Urdu text set in Alvi Lahori Nastaleeq and Jameel Noori Nastaleeq should
display in those fonts and not in the fallback fonts.

What went wrong?
Text set in Alvi Lahori Nastaleeq and Jameel Noori Nastaleeq fonts is
rendered using fallback fonts.

(Firefox and IE11 show the respective text correctly. For comparison,
screenshots of Chrome and Firefox are attached.)

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No

Did this work before? Yes The issue was first observed in 41.0.2272.101.
Not sure if that's when the regression happened. Version 37 of Chrome (the
first where DirectWrite was employed) *did* show the fonts correctly.
(Please see 'Any other comments'.)

Does this work in other browsers? Yes

Chrome version: 41.0.2272.118 Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 17.0 r0

If the use of DirectWrite is disabled (by going to chrome://flags), then
this issue vanishes; so probably something related to the use of
DirectWrite.

Download links for fonts:
Alvi Lahori Nastaleeq:
http://font.urduweb.org/downloads/302-alvi-lahori-nastaleeq-regular
Jameel Noori Nastaleeq:
http://font.urduweb.org/downloads/249-jameel-noori-nastaleeq-regular

Attachments:
chrome-mehfil.png 262 KB
ff-mehfil.png 223 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Apr 2, 2015, 6:35:47 PM4/2/15
to chromi...@chromium.org

Comment #4 on issue 472938 by ebra...@gnu.org: Alvi Lahori Nastaleeq and
Jameel Noori Nastaleeq fonts are not being displayed
https://code.google.com/p/chromium/issues/detail?id=472938

I hope this help:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
... (874 other fonts) ...
Alvi Lahori Nastaleeq (TrueType) REG_SZ
alvi-lahori-nastaleeq-regular-1.ttf
Jameel Noori Nastaleeq (TrueType) REG_SZ
jameel-noori-nastaleeq-regular-1_0.ttf


----
`dir alvi* jam*` on C:\Windows\Fonts:

Directory of C:\Windows\Fonts

04/03/2015 01:31 AM 9,542,436 alvi-lahori-nastaleeq-regular-1.ttf
10/29/2014 06:29 PM 13,832,464 jameel-noori-nastaleeq-regular-1.ttf
04/03/2015 01:31 AM 13,832,464
jameel-noori-nastaleeq-regular-1_0.ttf

chro...@googlecode.com

unread,
Apr 2, 2015, 6:47:46 PM4/2/15
to chromi...@chromium.org

Comment #5 on issue 472938 by karima...@gmail.com: Alvi Lahori Nastaleeq
and Jameel Noori Nastaleeq fonts are not being displayed
https://code.google.com/p/chromium/issues/detail?id=472938

I can also reproduce this issue. See the attachment.
Note: Fonts not rendering correctly are fallback fonts, and are marked with
rectangle in red.

Attachments:
Nastaleeq_test.gif 66.9 KB

chro...@googlecode.com

unread,
Apr 4, 2015, 7:43:43 AM4/4/15
to chromi...@chromium.org

Comment #8 on issue 472938 by ebrami...@gmail.com: Alvi Lahori Nastaleeq
and Jameel Noori Nastaleeq fonts are not being displayed
https://code.google.com/p/chromium/issues/detail?id=472938

Hmm, Urdu Emad Nastaleeq (
http://fonts.urduweb.org/ufonts/ttf/urdu-emad-nastaleeq-regular-1.ttf )
have just 203kb and don't work (as #5 indicates) but IranNastaliq (
http://www.scict.ir/portal/File/ShowFile.aspx?ID=5624fa86-e0d3-4f09-a68c-6d8998773265
) is 1.15MB and works.

data:text/html;charset=utf8,<div style="font-family: 'Urdu Emad
Nastaleeq';">%D9%85%D8%AA%D9%86</div><div style="font-family:
IranNastaliq;">%D9%85%D8%AA%D9%86</div>

Both works when DirectWrite is disabled. Would someone please request for
bisect information? That would quite helpful.

chro...@googlecode.com

unread,
Apr 4, 2015, 7:59:34 AM4/4/15
to chromi...@chromium.org

Comment #9 on issue 472938 by ebrami...@gmail.com: Alvi Lahori Nastaleeq
and Jameel Noori Nastaleeq fonts are not being displayed
https://code.google.com/p/chromium/issues/detail?id=472938

> That would quite helpful.
Not quite of course :-) Font cache is the only major difference DW and GDI
path have for fonts (as far as I know) and I can just guess bisect would
indicate something related but I also just guess bisect info would help.
Also I think there is chance that this affected some other fonts issue
filed on the other bugs.

chro...@googlecode.com

unread,
Apr 8, 2015, 12:31:22 AM4/8/15
to chromi...@chromium.org

Comment #12 on issue 472938 by saadat.m...@gmail.com: Alvi Lahori Nastaleeq
and Jameel Noori Nastaleeq fonts are not being displayed
https://code.google.com/p/chromium/issues/detail?id=472938

I can also confirm the fix in 44.0.2360.0. Thanks!

chro...@googlecode.com

unread,
Apr 8, 2015, 2:57:28 PM4/8/15
to chromi...@chromium.org
Updates:
Status: Fixed

Comment #13 on issue 472938 by shri...@chromium.org: Alvi Lahori Nastaleeq
and Jameel Noori Nastaleeq fonts are not being displayed
https://code.google.com/p/chromium/issues/detail?id=472938

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Apr 16, 2015, 4:48:04 AM4/16/15
to chromi...@chromium.org

Comment #14 on issue 472938 by tkonch...@chromium.org: Alvi Lahori
Nastaleeq and Jameel Noori Nastaleeq fonts are not being displayed
https://code.google.com/p/chromium/issues/detail?id=472938

@pbommana, Could you please verify the fix else provide the steps
supporting comment #6
Reply all
Reply to author
Forward
0 new messages