Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 314503

Summary: media-fonts/pt-sans (new package)
Product: Gentoo Linux Reporter: Alexandre Rostovtsev (RETIRED) <tetromino>
Component: New packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.paratype.com/public/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pt-sans-2.003.ebuild
90-pt-sans-no-bitmaps.conf
one of PT Sans licenses

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.