Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F fontconfig
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 181
    • Issues 181
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fontconfig
  • fontconfig
  • Issues
  • #128
Closed
Open
Issue created Oct 26, 2018 by Mahfuzur Rahman@burhansylhet

Remove broken bengali mono font name entry from 65-nonlatin.conf

( On Linux Mint 18)

$ fc-list :mono:lang=bn
/usr/share/fonts/truetype/fonts-beng-extra/mitra.ttf: Mitra Mono,\\u09ae\\u09bf\\u09a4\\u09cd\\u09b0:style=Regular

There seems to be only one mono font for Bengali language available which is Mitra Mono. But sadly this mono font cannot render Bangla(bn) correctly. Bangla is complex script font, for which there's currently no mono font available AFAIK.

The font itself is broken if I'm correct. It's listed as mono,serif,sans-serif. But ironically it can't show bangla correctly.

$ fc-list :sans | grep -i mitra && fc-list :serif | grep -i mitra && fc-list :mono | grep -i mitra
/usr/share/fonts/truetype/fonts-beng-extra/mitra.ttf: Mitra Mono,\\u09ae\\u09bf\\u09a4\\u09cd\\u09b0:style=Regular
/usr/share/fonts/truetype/fonts-beng-extra/mitra.ttf: Mitra Mono,\\u09ae\\u09bf\\u09a4\\u09cd\\u09b0:style=Regular
/usr/share/fonts/truetype/fonts-beng-extra/mitra.ttf: Mitra Mono,\\u09ae\\u09bf\\u09a4\\u09cd\\u09b0:style=Regular

Test file: nde.txt

This font has highest priority for bangla mono selection. For a system that has this installed, opening files in text editor looks like this:

screenshot-2018-10-26_15-35-57

This(above) is unreadable.

screenshot-2018-10-25_16-00-41

Above is "Noto Sans Bengali" which correctly shows Bangla.

So I'm requesting to remove https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/master/conf.d/65-nonlatin.conf#L178 entry.

Without Mitra mono font Bangla shows with Lohit Bengali which has correct rendering.

screenshot-2018-10-26_15-55-21

There are at least three other fonts that can't show bangla correctly

  1. Ani 2)FreeSans 3)FreeSerif

These 3 have problems with bangla ligatures.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking