Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314503 - media-fonts/pt-sans (new package)
Summary: media-fonts/pt-sans (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo Fonts Team
URL: http://www.paratype.com/public/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-10 11:40 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2011-01-14 04:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pt-sans-2.003.ebuild (pt-sans-2.003.ebuild,1.79 KB, text/plain)
2010-04-10 11:51 UTC, Alexandre Rostovtsev (RETIRED)
Details
90-pt-sans-no-bitmaps.conf (90-pt-sans-no-bitmaps.conf,282 bytes, text/plain)
2010-04-10 11:55 UTC, Alexandre Rostovtsev (RETIRED)
Details
one of PT Sans licenses (pt-sans,1.78 KB, text/plain)
2010-04-10 12:02 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2010-04-10 11:40:08 UTC
PT Sans is a sans serif family of fonts that has been recently released by ParaType under an open license (a choice of OFL or their own "free font licensing agreement"). The font family includes Latin and Cyrillic glyphs and is notable because it is one of the few free fonts to correctly support many of the minority languages of Russia.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2010-04-10 11:51:49 UTC
Created attachment 227249 [details]
pt-sans-2.003.ebuild

An ebuild for the current version of PT Sans.

USE="web" will additionally install font files in eot and woff formats suitable for web use.

Note that ParaType only provides the latest version of the font for download (at http://www.fontstock.com/public/PTSans_OFL.zip and http://www.fontstock.com/public/PTSansWeb.zip), so Gentoo will have to rename and mirror specific versions of ParaType's zip files.

To use this ebuild, download PTSans_OFL.zip and PTSansWeb.zip, rename them to PTSans_OFL-2.003.zip and PTSansWeb-2.003.zip and move to /usr/portage/distfiles

To determine the font version, use fontforge or grep ("grep --binary-files=text 'Version ' *.ttf"); different .ttf files may have slightly different version numbers, I suggest using the greatest one for the version of the entire package. The current version (as of 2010-04-10) is 2.003, but this may well change by the time the ebuild is added to the tree.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2010-04-10 11:55:39 UTC
Created attachment 227251 [details]
90-pt-sans-no-bitmaps.conf

PT Sans fonts use embedded bitmaps for small glyph sizes. The aesthetics of those bitmaps are somewhat questionable, and this fontconfig file allows one to disable their use by "eselect fontconfig enable 90-pt-sans-no-bitmaps.conf".
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2010-04-10 12:02:10 UTC
Created attachment 227255 [details]
one of PT Sans licenses

PT Sans fonts are available under a choice of OFL-1.1 and ParaType's own "free font licensing agreement" (the English version is in the attached file); see http://community.livejournal.com/paratype/10009.html#cutid5 (in Russian) for details.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2010-06-06 04:35:42 UTC
what is it with font people and unversioned distfiles? :P

i'm not sure about the USE flag.  maybe it would be more suitable to have two packages.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-01-14 04:54:18 UTC
media-fonts/paratype, added to the tree on 13 Jan 2011, includes PT Sans. Closing as fixed.