FreeBSD Ports

print/freetype2 2.14.3

Free and portable TrueType font rendering engine

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
04a58f6031
License
FTL, GPLv2+
Categories
print
Package size
1201.5 KiB, 8433.7 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:

Install

As a binary package — by origin, or by package name:

pkg install print/freetype2
pkg install freetype2

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	freetype2>0:print/freetype2
LIB_DEPENDS=	libfreetype.so:print/freetype2

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.14.32.14.32.12.1_22.13.32.14.3
FreeBSD:14:quarterly2.14.32.14.3n/a2.13.32.14.3
FreeBSD:15:latest2.14.32.14.3n/a2.13.32.13.3
FreeBSD:15:quarterly2.14.32.14.3n/an/an/a
FreeBSD:16:latest2.14.32.14.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 18
All run dependencies 2
Required by 7735

The first 100 are listed.

Configuration

Options name: print_freetype2

OptionDefaultDescription
BROTLIonBrotli compression support
DEBUGoffBuild with debugging support
DOCSoffBuild and/or install documentation
LONG_PCF_NAMESonEnable long PCF family names
PNGonPNG image format support
SUBPIXEL_RENDERINGoffEnable LCD rendering similar to ClearType
TABLE_VALIDATIONoffTrueType GX/AAT and OpenType table validation
USES
cmake cpe localbase:ldflags pathfix pkgconfig tar:xz
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).

Files

pkg-plist 64
  • include/freetype2/dlg/dlg.h
  • include/freetype2/dlg/output.h
  • include/freetype2/freetype/config/ftconfig.h
  • include/freetype2/freetype/config/ftheader.h
  • include/freetype2/freetype/config/ftmodule.h
  • include/freetype2/freetype/config/ftoption.h
  • include/freetype2/freetype/config/ftstdlib.h
  • include/freetype2/freetype/config/integer-types.h
  • include/freetype2/freetype/config/mac-support.h
  • include/freetype2/freetype/config/public-macros.h
  • include/freetype2/freetype/freetype.h
  • include/freetype2/freetype/ftadvanc.h
  • include/freetype2/freetype/ftbbox.h
  • include/freetype2/freetype/ftbdf.h
  • include/freetype2/freetype/ftbitmap.h
  • include/freetype2/freetype/ftbzip2.h
  • include/freetype2/freetype/ftcache.h
  • include/freetype2/freetype/ftchapters.h
  • include/freetype2/freetype/ftcid.h
  • include/freetype2/freetype/ftcolor.h
  • include/freetype2/freetype/ftdriver.h
  • include/freetype2/freetype/fterrdef.h
  • include/freetype2/freetype/fterrors.h
  • include/freetype2/freetype/ftfntfmt.h
  • include/freetype2/freetype/ftgasp.h
  • include/freetype2/freetype/ftglyph.h
  • include/freetype2/freetype/ftgxval.h
  • include/freetype2/freetype/ftgzip.h
  • include/freetype2/freetype/ftimage.h
  • include/freetype2/freetype/ftincrem.h
  • include/freetype2/freetype/ftlcdfil.h
  • include/freetype2/freetype/ftlist.h
  • include/freetype2/freetype/ftlogging.h
  • include/freetype2/freetype/ftlzw.h
  • include/freetype2/freetype/ftmac.h
  • include/freetype2/freetype/ftmm.h
  • include/freetype2/freetype/ftmodapi.h
  • include/freetype2/freetype/ftmoderr.h
  • include/freetype2/freetype/ftotval.h
  • include/freetype2/freetype/ftoutln.h
  • include/freetype2/freetype/ftparams.h
  • include/freetype2/freetype/ftpfr.h
  • include/freetype2/freetype/ftrender.h
  • include/freetype2/freetype/ftsizes.h
  • include/freetype2/freetype/ftsnames.h
  • include/freetype2/freetype/ftstroke.h
  • include/freetype2/freetype/ftsynth.h
  • include/freetype2/freetype/ftsystem.h
  • include/freetype2/freetype/fttrigon.h
  • include/freetype2/freetype/fttypes.h
  • include/freetype2/freetype/ftwinfnt.h
  • include/freetype2/freetype/otsvg.h
  • include/freetype2/freetype/t1tables.h
  • include/freetype2/freetype/ttnameid.h
  • include/freetype2/freetype/tttables.h
  • include/freetype2/freetype/tttags.h
  • include/freetype2/ft2build.h
  • lib/cmake/freetype/freetype-config-.cmake
  • lib/cmake/freetype/freetype-config-version.cmake
  • lib/cmake/freetype/freetype-config.cmake
  • lib/libfreetype.so
  • lib/libfreetype.so.6
  • lib/libfreetype.so.6.20.6
  • libdata/pkgconfig/freetype2.pc
distinfo 1
FileSizeSHA256
freetype-2.14.3.tar.xz2.67022e+0636bc4f1cc413335368ee656c42afca65c5a3987e8768cc28cf11ba775e785a5f
Master sites 2
  • SAVANNAH/${PORTNAME:S/2//}
  • SF/freetype/freetype2/${DISTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/

Commit history 1

DateCommitCreditsLog message
04a58f6031 Po-Chuan Hsieh print/freetype2: Update WWW
https://www.freetype.org/ redirects to https://freetype.org/ Approved by: portmgr (blanket)