Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subset fonts using Harfbuzz #2178

Merged
merged 3 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/first_steps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ in a `virtual environment`_ using `pip`_::
.. _pip: https://pip.pypa.io/


Alpine ≥ 3.14
Alpine ≥ 3.17
+++++++++++++

To install WeasyPrint using your distribution’s package::
Expand All @@ -80,12 +80,12 @@ To install WeasyPrint using your distribution’s package::
To install WeasyPrint inside a virtualenv using wheels (if possible), you need
the following packages::

apk add py3-pip gcc musl-dev python3-dev pango zlib-dev jpeg-dev openjpeg-dev g++ libffi-dev
apk add py3-pip gcc musl-dev python3-dev pango zlib-dev jpeg-dev openjpeg-dev g++ libffi-dev harfbuzz-subset

To install WeasyPrint inside a virtualenv without using wheels, you need the
following packages::

apk add py3-pip gcc musl-dev python3-dev pango zlib-dev jpeg-dev openjpeg-dev g++ libffi-dev
apk add py3-pip gcc musl-dev python3-dev pango zlib-dev jpeg-dev openjpeg-dev g++ libffi-dev harfbuzz-subset


Archlinux
Expand Down Expand Up @@ -116,15 +116,15 @@ To install WeasyPrint using your distribution’s package::
To install WeasyPrint inside a virtualenv using wheels (if possible), you need
the following packages::

apt install python3-pip libpango-1.0-0 libpangoft2-1.0-0
apt install python3-pip libpango-1.0-0 libpangoft2-1.0-0 libharfbuzz-subset0

To install WeasyPrint inside a virtualenv without using wheels, you need the
following packages::

apt install python3-pip libpango-1.0-0 libpangoft2-1.0-0 libjpeg-dev libopenjp2-7-dev libffi-dev
apt install python3-pip libpango-1.0-0 libpangoft2-1.0-0 libharfbuzz-subset0 libjpeg-dev libopenjp2-7-dev libffi-dev


Fedora ≥ 34
Fedora ≥ 39
+++++++++++

To install WeasyPrint using your distribution’s package::
Expand Down Expand Up @@ -152,12 +152,12 @@ To install WeasyPrint using your distribution’s package::
To install WeasyPrint inside a virtualenv using wheels (if possible), you need
the following packages::

apt install python3-pip libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0
apt install python3-pip libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0 libharfbuzz-subset0

To install WeasyPrint inside a virtualenv without using wheels, you need the
following packages::

apt install python3-pip libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0 libffi-dev libjpeg-dev libopenjp2-7-dev
apt install python3-pip libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0 libharfbuzz-subset0 libffi-dev libjpeg-dev libopenjp2-7-dev


macOS
Expand Down
Loading
Loading