Page MenuHomePhabricator

add support for Dzongkha / Tibetan script
Closed, ResolvedPublic

Description

dzwiki looks ugly without webfonts support


Version: unspecified
Severity: enhancement

Details

Reference
bz33718
TitleReferenceAuthorSource BranchDest Branch
lint: Clean `--commit-msg-filename` input before lintingrepos/ci-tools/commit-message-validator!16bd808work/bd808/pre-commit-use-fixesmain
Improve license documentationbd808/gitlab-flavored-markdown-experiments!3bd808work/bd808/line-breaksmain
Improve license documentationbd808/gitlab-flavored-markdown-experiments!2bd808work/bd808/UNLICENSEmain
Update file README.mdbd808/gitlab-flavored-markdown-experiments!1bd808work/bd808/READMEmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:00 AM
bzimport set Reference to bz33718.

Thanks for this feature request. Are yOu aware of any free fonts that would be candidates for Dzongkha / Tibetan script?

http://download.savannah.gnu.org/releases/free-tibetan/jomolhari/jomolhari-alpha3c.tar.gz says it uses the "SIL Open Font License".

I'm not sure if that is sufficient, but it is a start.

karunakarg wrote:

I made a patch for dzongkha font. I guess it does not work as expected. Font size is big.

2269308 jomolhari.eot
2269108 jomolhari.ttf
823612 jomolhari.woff

I setup extension with the font on this site.
http://l10n.in/lwiki/index.php/DzongkhaText

Have used font as available in debian squeeze
http://packages.debian.org/squeeze/ttf-dzongkha

karunakarg wrote:

The patch

  • webfonts.fontlist.js 2011-11-26 11:24:33.000000000 +0000

+++ webfonts.fontlist-new.js 2011-11-26 11:25:27.000000000 +0000
@@ -234,7 +234,12 @@

				eot: "fa/IranianSans.eot",
				ttf: "fa/IranianSans.ttf",
				woff: "fa/IranianSans.woff"
  • }

+ },
+ "Jomolhari": {
+ eot: "dz/jomolhari.eot",
+ ttf: "dz/jomolhari.ttf",
+ woff: "dz/jomolhari.woff"
+ }

		},

		languages: {

@@ -258,7 +263,8 @@

			saz: [ "Pagul" ],
			am: [ "AbyssinicaSIL" ],
			ti: [ "AbyssinicaSIL" ],
  • fa: [ "Iranian Sans" ]

+ fa: [ "Iranian Sans" ],
+ dz: [ "Jomolhari" ]

		}
	};

})(jQuery);

karunakarg wrote:

Sample rendering
http://www.flickr.com/photos/karunakarg/6861901387

Jomolhari can be used as default for Dzongkha, it was developed during Dzongkha Linux development.
http://dzongkha.sourceforge.net/

karunakarg wrote:

Patch to add font for dzongkha

Adding Jomolhari font for dzongkha support.

Attached:

karunakarg wrote:

Sample rendering with dzongkha font

Sample rendering with dzongkha font. I already have the font installed.

Test url: http://l10n.in/lwiki/index.php/DzongkhaText

Attached:

dzongkha-test.jpg (651×1 px, 109 KB)

Thanks. Done in r111620. Will be available in translatewiki.net for further testing soon.

Since r111764 available for both Dzongkha (dz) and Tibetan (bo).

I got a friend who studied to test it in translatewiki.net and he said that it is good. Do we want to ask the editing communities about it or should we go ahead with deployment?