Page MenuHomePhabricator

Find and add Divehi font
Closed, ResolvedPublic

Description

Author: mv.crc43

Description:
Please replace Divehi font. It is illegible and incomplete. Here is the official and widely used font. This is the font accepted for official / government use.

dv.wikipedia.org
ISO15924 Language code = 170


Version: unspecified
Severity: enhancement

Details

Reference
bz42812

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:54 AM
bzimport set Reference to bz42812.

What do you mean replace? Divehi is not supported as far as I can see, and I've already pointed you to the instructions on [[mw:Extension:WebFonts#Adding_a_new_language_support]].
Please suggest a font (i.e. a eot, ttf, woff file) to be included.

(In reply to comment #0)

Here is the official and widely used font.

Not sure what "here" means. We need a link to a file...

  • Bug 42855 has been marked as a duplicate of this bug. ***

mv.crc43 wrote:

I meant to attach the file, looks like it didn't upload properly. Faruma.ttf on launchpad would be very good alternative. Vituzzu had asked Glacious to choose from them, and I have nosed in there as well. This is just FYI.
Thanks guys ;)

mv.crc43 wrote:

I meant to attach the file, looks like it didn't upload properly. Faruma.ttf on launchpad would be very good alternative. Vituzzu had asked Glacious to choose from them, and I have nosed in there as well. This is just FYI.
Thanks guys ;)

Please provide exact and full links, always. "Faruma.ttf on launchpad" is not a link, it's as helpful as "get Faruma at that shop around the corner". ;)

mv.crc43 wrote:

I am sorry for that, but the no-link was purposeful this time, seeing as I thought Vituzzu was (unofficially) assigned this. This was the link he proposed:

https://launchpad.net/ttf-dhivehi-fonts/1.0

Source:http://dv.wikipedia.org/wiki/User_talk:Glacious

Sorry about the stretched conversation guys. Thanks.

Thanks for the link. Things are usually faster if you do yourself what requested at https://www.mediawiki.org/wiki/Extension:WebFonts#Preparing_webfonts (converting the fonts to the needed formats and verify them).

(In reply to comment #7)

I am sorry for that, but the no-link was purposeful this time, seeing as I
thought Vituzzu was (unofficially) assigned this. This was the link he
proposed:

Vituzzu wasn't even in cc here, I don't know if he still wants to help.

y.1806 wrote:

Can anyone update me with the status. I have tried https://www.mediawiki.org/wiki/Extension:WebFonts#Preparing_webfonts, but the documentation is not very clear so I couldn't complete it.

(In reply to comment #9)

Can anyone update me with the status. I have tried
https://www.mediawiki.org/wiki/Extension:WebFonts#Preparing_webfonts, but the
documentation is not very clear so I couldn't complete it.

If something is "not very clear" please elaborate what exactly needs improvement.

y.1806 wrote:

In Preparing webfonts section it says to install the tool and run ttf2eot yourfont.ttf > yourfont.eot. I substitued the font with the font I need and nothing happens.

(In reply to comment #11)

run ttf2eot yourfont.ttf > yourfont.eot

From the README file included in ttf2eot-0.0.2-2.tar.gz :

Usage:

$ ./ttf2eot < input.ttf > output.eot

Looks like the documentation on https://www.mediawiki.org/wiki/Extension:WebFonts#Preparing_webfonts is wrong and needs fixing.
I cannot test myself as I get a compile error for ttf2eot with gcc 4.6.3 in OpenTypeUtilities.cpp:getEOTHeader().

I substitued the font with the font I need and nothing happens.

Please try the command with "<" and check if the file yourfont.eot is created.

Bug title changed. We need a free licensed font with optimal size to support. See http://lists.wikimedia.org/pipermail/wikitech-l/2013-February/066448.html for discussion.

So the bug is also about finding one such font? Correct the summary if it's not.

y.1806 wrote:

It's possible to remove glyphs from fonts. So maybe someone could remove the unwanted glyphs from FreeSerif.ttf from https://savannah.gnu.org/projects/freefont which have appropriate glyphs and proper copyright information.

y.1806 wrote:

zip file containing thaana WOFF

WOFF files have been created. Could someone please check on this and tell me if there is any problem?

Attached:

Thanks. I assume that I can add GNU freefont as upstream for this subset font? ( we maintain that information also inside ULS)

y.1806 wrote:

Yes. You could add GNU Freefont as upstream. Steve White from GNU FreeFont created the WOFF. He told me to post the file at a separate project and put a notice of that location in the WOFF file itself.

Patch I55c5045ac764d9a40e7ee9b7e9881414816863f4

It was done in WebFonts too. Change-Id: I0964e4d64a25d37190ea60bee04043fbd6a61091