PackageDescription: Xft


Xft

Last published: March 11, 2022 by 'niallr'

Defines 8 Classes
Extends 24 Classes


A binding for the X FreeType interface library for enumerating and rendering fonts.
Also includes XftFont, a screen font implementation.

Does not replace XFonts, this is done in another package, Xft-Integration.

Loading new versions of this package can be difficult if Xft is active, especially if there have been substantial changes.

Solution 1:
Load the new version on another platform (Windows, OS X)

Solution 2:
- remove the method Screen>>preferredFontClass
- save, quit, open again. XFonts are now active
- load the new versions, including Xft-Integration, which contains Screen>>preferredFontClass
- save, quit, open again.

Solution 3 (if loaded from Store):
Perform the following script:

ScheduledControllers scheduledControllers do: [ : controller | controller view collapse ].
Screen default installFontPolicy.
" fork -> no StoreProgressOverlay "
[
#('Xft' 'Xft-Integration' 'Xft-DesktopIntegration') do: [ : packageName |
(Store.Glorp.StorePackage newestVersionWithName: packageName) loadSource
].
ScheduledControllers scheduledControllers do: [ : controller | controller view expand ].
] fork.

Contact: h . kleinsorgen - at - gmail . com
Github repo: https://github.com/hkleinsorgen/Xft

Licensed under the MIT license (see Copyright)