cvs commit: ports/x11-fonts Makefile ports/x11-fonts/fonts-indic
Makefile distinfo pkg-descr pkg-plist
Joseph Koshy
jkoshy at FreeBSD.org
Fri Oct 12 20:16:27 PDT 2007
> edwin 2007-09-24 05:08:41 UTC
>
> FreeBSD ports repository
>
> Modified files:
> x11-fonts Makefile
> Added files:
> x11-fonts/fonts-indic Makefile distinfo pkg-descr pkg-plist
> Log:
> new port: x11-fonts/fonts-indic
>
> I'm not able to find good Indic fonts in the ports. Fedora's Lohit
> project has some great fonts for a whole bunch of Indian languages and
> many Linux distros provide it in their repos.
>
> Here's a link to Gentoo's ebuild:
> http://www.gentoo-portage.com/media-fonts/fonts-indic
>
> A collection of Indic fonts by the Lohit project.
> The package supports most Indian languages:
>
> - Bengali
> - Gujarati
> - Hindi
> - Kannada
> - Malayalam
> - Oriya
> - Punjabi
> - Tamil
> - Telugu
>
> WWW: http://fedoraproject.org/wiki/Lohit
This port should perhaps be renamed to "fonts-lohit".
First, the port does not cover *all* indic scripts. Notably, fonts
for the Limbu, Sinhala and Syloti Nagri scripts, which are classified
as Indic by the Unicode consortium, are missing from this port.
Second, these Lohit fonts are just one of the many fonts available for
indic scripts. Thus the current port name is a misnomer.
Other minor nits about the port:
- Creating yet another font directory for a small number of fonts is
perhaps unnecessary. Installing into $PREFIX/share/fonts/TrueType
or $PREFIX/lib/X11/fonts/TTF like the other packages do (e.g.,
font-misc-ethiopic) would be enough.
- mkfontscale and mkfontdir need to be run after the port is installed
for the fonts to be usable by the X server.
- The port appears to be setting MASTER_SITE to a Gentoo mirror
instead of something more canonical. Also, there is only one
MASTER_SITE.
- pkg-descr also needs to be clearer:
- s/languages/scripts/
Fonts are for scripts, not for languages. There are many more
languages than scripts in use in the indian subcontinent and
multiple languages can use the same script. Further, some
languages are written in multiple scripts depending on
regional preferences.
- s/Hindi/Devanagari/
The script is called Devanagari. One of the languages written
using Devanagari is called Hindi. There are others.
Regards,
Koshy
<jkoshy at freebsd.org>
More information about the cvs-all
mailing list