Bug 959994 - [as_IN] fc-match shows 'Lohit-Bengali' instead of 'Lohit-Assamese' for Monospace and Serif
Summary: [as_IN] fc-match shows 'Lohit-Bengali' instead of 'Lohit-Assamese' for Monosp...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lohit-assamese-fonts
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pravin Satpute
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-06 11:23 UTC by Nilamdyuti
Modified: 2013-06-18 06:23 UTC (History)
7 users (show)

Fixed In Version: lohit-bengali-fonts-2.5.3-3.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-18 06:23:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nilamdyuti 2013-05-06 11:23:07 UTC
Description of problem:

While testing the i18n QA test case 'Font Configuration Tool' for Assamese language, I found that when fc-match command is run from terminal, it displays Lohit-Assamese only for Sans-serif and displays Lohit-Bengali instead of Lohit-Assamese for Serif and Monospace. The result displayed in terminal is as follows:

[ngoswami@localhost ~]$ fc-match sans-serif:lang=as
Lohit-Assamese.ttf: "Lohit Assamese" "Regular"
[ngoswami@localhost ~]$ fc-match serif:lang=as
Lohit-Bengali.ttf: "Lohit Bengali" "Regular"
[ngoswami@localhost ~]$ fc-match monospace:lang=as
Lohit-Bengali.ttf: "Lohit Bengali" "Regular"


Version-Release number of selected component (if applicable):

fonts-tweak-tool-0.3.1-1.fc19.x86_64

How reproducible:

Always

Steps to Reproduce:

1. Run fonts-tweak-tool from terminal

2. Select language Assamese and font Lohit-Assamese

3. Run fc-match command in the above mentioned method in terminal
  
Actual results:

fc-match command displays 'Lohit-Bengali' for Monospace and Serif

Expected results:

fc-match command should display 'Lohit-Assamese' for Monospace and Serif

Comment 1 Akira TAGOH 2013-05-07 07:55:44 UTC
Please clarify what you changed at the above step 2. if you did change sans-serif, serif and monospace all together to Lohit Assamese and fc-match claims as you said, it should be a bug in fonts-tweak-tool. if you are just complaining the default font is weird otherwise, please say so. in that case the above report is totally misleading.

Comment 2 Nilamdyuti 2013-05-07 09:14:09 UTC
Hi Akira,

No, I changed only sans-serif to Lohit-Assamese because for serif and monospace, Lohit-Assamese wasn't there as an option in the drop down lists. So, it doesn't seem to be a bug in fonts-tweak-tool. There seems to be some other issue because for Lohit-Bengali it displays Lohit-Bengali when fc-match command is run for all the three cases and Lohit-Bengali is also not available in drop down lists of serif and monospace.

Comment 3 Pravin Satpute 2013-05-07 09:24:07 UTC
Adding Lohit Assamese from fonts-tweak-tool OR without adding gives us same results :)

Lohit-Assamese and whole lohit family only provides Sans-serif fonts. 

From Monospace definitely Lohit should get selected. If no objection, i am thinking to add rules in Lohit conf file saying it provides monospace as well.

For Serif i am bit doubtful. Since we do have some fonts for some languages providing serif. But even in that case if serif fonts not available Lohit should get selected.

Comment 4 Akira TAGOH 2013-05-07 09:37:32 UTC
(In reply to comment #2)
> Hi Akira,
> 
> No, I changed only sans-serif to Lohit-Assamese because for serif and
> monospace, Lohit-Assamese wasn't there as an option in the drop down lists.

FWIW that is a feature in fonts-tweak-tool. you can disable it by turning on `Do not filter a font family name by classification' option.

Comment 5 Pravin Satpute 2013-05-07 10:13:33 UTC
Yes, after enabling 'Do not filter a font family name by classification' and selecting Lohit Assamese for all style works fine.

Comment 6 Nilamdyuti 2013-05-07 11:22:55 UTC
Yes, after enabling 'Do not filter a font family name by classification' and selecting Lohit Assamese for all style, displays Lohit Assamese for all the cases when fc-command is run.

Comment 7 Fedora Update System 2013-05-29 09:32:32 UTC
lohit-bengali-fonts-2.5.3-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/lohit-bengali-fonts-2.5.3-3.fc19

Comment 8 Pravin Satpute 2013-05-29 09:33:51 UTC
Removed "as" from lohit-bengali-fonts fc cache. From now it will not get selected for Assamese locale.

Comment 9 Fedora Update System 2013-05-29 17:49:33 UTC
Package lohit-bengali-fonts-2.5.3-3.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing lohit-bengali-fonts-2.5.3-3.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-9581/lohit-bengali-fonts-2.5.3-3.fc19
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2013-06-18 06:23:45 UTC
lohit-bengali-fonts-2.5.3-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.