BSD Ports

print/freetype2 2.13.3 DragonFly

Free and portable TrueType font rendering engine

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
FTL, GPLv2+
Categories
print
Package size
1134.4 KiB, 8363.3 KiB installed

Description

FreeType is a freely available software library to render fonts.

It is written in C, designed to be small, efficient, highly customizable, and portable while capable of producing high-quality output (glyph images) of most vector and bitmap font formats.

Some products that use FreeType for rendering fonts on screen or on paper, either exclusively or partially:

In the other systems

SystemPortVersion
DragonFlyprint/freetype22.13.3
FreeBSDprint/freetype22.14.3
NetBSDgraphics/freetype22.14.3
MidnightBSDprint/freetype22.15.0
HardenedBSDprint/freetype22.14.3
GhostBSDprint/freetype22.14.3
OPNsenseprint/freetype22.14.3

Install

Binary package:

pkg install freetype2

From DPorts:

cd /usr/dports/print/freetype2 && make install clean

Dependencies

Run dependencies 2
Required by 815

The first 100 are listed.

Configuration

No options to configure.

Service scripts
none

Message after installing

The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).