Bättre textrendering på gång

Skrivbordsmiljöer, fönsterhanterare och desklets
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Bättre textrendering på gång

Inlägg av JoWa »

Ubuntu, liksom många andra system, använder FreeType (version 2.4.11 i 13.04) för all textrendering. FreeType är bra, men kan bli bättre på att rendera PostScript-baserade typsnitt. Och det är vad som är på gång. Genom ett samarbete mellan FreeType-projektet, Google och Adobe, som skapade PostScript, har Adobe CFF-rastrerarens kod släppts och integrerats i FreeType (beta). Kort sagt kommer PostScript-baserade typsnitt att återges snyggare och tydligare med den kommande versionen (2.4.12 och senare) av FreeType. :)

Läs mer på Google Open Source Blog: Got CFF?

Adobe Typblography: Adobe contributes font rasterizer technology to FreeType
Senast redigerad av 1 JoWa, redigerad totalt 2 gånger.
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Kurdistan
Inlägg: 2446
Blev medlem: 27 feb 2010, 15:09
OS: Ubuntu
Utgåva: 23.04 Lunar Lobster

Re: Bättre textrendering på gång

Inlägg av Kurdistan »

Tack för informationen.
Påvels blogg:
http://pavel.frimix.se/
Läs länken nedan, innan ni söker hjälp på forumet
http://ubuntu-se.org/phpBB3/viewtopic.php?f=19&p=450678
En nära väns svenska Mageia-blogg som jag emellanåt hjälper till. Ta gärna en titt:
http://mageiasv.blogspot.se/
fr33r1d3
Inlägg: 384
Blev medlem: 13 nov 2007, 17:26
OS: Ubuntu
Ort: Nora / Sverige
Kontakt:

Re: Bättre textrendering på gång

Inlägg av fr33r1d3 »

Låter riktigt trevligt det.
Fadder.

Blog: http://peterahlgren.com
Twitter: @peter_ahlgren
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

2013-05-08:
FreeType 2.4.12 has been released. A major new feature is a new parsing and hinting engine for CFF fonts, contributed by Adobe in collaboration with Google. It was my job the last few months to fully adapt the code to FreeType, and we are very pleased with the results. You might also read the blog entries from Adobe and Google.

In connection with the new CFF engine, the demo programs, especially ftview and ftdiff, have been improved a lot; as usual, more details on the changes can be found in the release notes.

I also want to say a big thank you to all the people who have already donated to the campaign! In particular I want to thank Adobe which has contributed to half the total pledgie amount.
https://www.freetype.org/index.html#news
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

Ytterligare en FreeType-relaterad nyhet: Open Standard Color Font Fun for Everyone :)
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

Nu är Adobes rastrerare inkluderad och aktiverad i den senaste stabila versionen av FreeType, 2.5. :)
FreeType 2.5

2013-06-19
FreeType 2.5 has been released. A major new feature is support for color embedded bitmaps (eg. color emoji), contributed by Behdad Esfahbod on behalf of Google. Additionally, Adobe's CFF engine is now the default, which makes a good reason to change from the 2.4.x to the 2.5.x series.

On the technical side, the property API to access FreeType module parameters (FT_Property_Set and FT_Property_Get) is now declared as stable.

As usual, see this file for the complete release notes which give more details. And we have again blog entries from Adobe and Google.
https://www.freetype.org/

Adobe Typblography: Adobe CFF font rasterizer accepted by FreeType

Google Open Source Blog: You’ve Got CFF!
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
Hund
Inlägg: 16492
Blev medlem: 25 jan 2007, 04:15
OS: Gentoo
Ort: Norrland
Kontakt:

Re: Bättre textrendering på gång

Inlägg av Hund »

Är det bara jag som tycker att det nya sättet är sämre? Texten är ju suddig och man måste anstränga sig för att läsa den. Jag hoppas verkligen att det går att fortsätta köra med den gamla hederliga krispiga texten.

~ Sent from my Nexus 4 using Tapatalk 4 ~
Linuxkompis - En vänlig Linux-gemenskap för alla!
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

Det är nog bara du. ;)

Jämförelsen i full storlek: https://blogs.adobe.com/typblography/fi ... nW-900.png

Och så finns ju fyra nivåer av hintning: ingen hintning, grundläggande, måttlig, maximal. Bara att välja den nivå du tycker ser bäst ut på din skärm. :)
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Antec
Inlägg: 2449
Blev medlem: 31 okt 2008, 16:25
OS: Ubuntu

Re: Bättre textrendering på gång

Inlägg av Antec »

För mig ser native hinter (CFF adobe) väldigt bra ut, det är skarp och jag är nöjd med det. ;D
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

PPA för FreeType 2.5.0.1: https://launchpad.net/~teppic74/+archiv ... ype-latest

Det finns en buggrapport angående uppgradering av FreeType i 13.10: https://bugs.launchpad.net/ubuntu/+sour ... ug/1203012
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

FreeType 2.5.3 har släppts, och innehåller bl.a. en säkerhetsfix samt förbättrat stöd för autohintning av SFNT-fonter.

https://www.freetype.org/

Nytt i 2.5.3: https://sourceforge.net/projects/freety ... pe2/2.5.3/

Inte i 14.04 än.
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

FreeType i Ubuntu 14.04 uppdaterades i torsdags till 2.5.2-1ubuntu2, som innehåller säkerhetsfixarna från 2.5.3.

Förhoppningsvis får 14.04 senare 2.5.3, med förbättrad autohintning av glyfer generade genom OpenType-funktioner.
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

FreeType 2.7.0 har släppts, med bättre textrendering.

https://www.freetype.org/
https://lists.nongnu.org/archive/html/f ... 00091.html

Ändringar mellan 2.6.5 och 2.7.0:
Gömt innehåll: Visa!
CHANGES BETWEEN 2.6.5 and 2.7

I. IMPORTANT CHANGES

- As announced earlier, the 2.7.x series now uses the new subpixel hinting mode as the default, emulating a modern version of ClearType.

This change inevitably leads to different rendering results, and you might change the `TT_CONFIG_OPTION_SUBPIXEL_HINTING' configuration option to adapt it to your taste (or use the new ‘FREETYPE_PROPERTIES’ environment variable). See the corresponding entry below for version 2.6.4, which gives more information.

- A new option `FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES’ has been introduced. If set (which is the default), an environment variable `FREETYPE_PROPERTIES’ can be used to control 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. See file `ftoption.h' for more.


II. IMPORTANT BUG FIXES

- After loading a named instance of a GX variation font, the `face_index’ value in the returned `FT_Face' structure now correctly holds the named instance index in the upper 16bits as documented.


III. MISCELLANEOUS

- A new macro `FT_IS_NAMED_INSTANCE' to test whether a given face is a named instance.

- More fixes to GX font handling.

- Apple's `GETVARIATION' bytecode operator (needed for GX variation font support) has been implemented.

- Another round of fuzzer fixes, mainly to reject invalid fonts faster.

- Handling of raw CID fonts was broken (bug introduced in version 2.6.4).

- The smooth rasterizer has been streamlined to make it faster by approx. 20%.

- The `ftgrid' demo program now understands command line option `-d’ to give start-up design coordinates.

- The `ftdump' demo program has a new command line option `-p’ to dump TrueType bytecode instructions.
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

FreeType 2.7.1 stöder ”font variations” i OpenType 1.8 (som nämns i förra inlägget).

Introducing OpenType Font Variations (Microsoft Typography)

Det är en gammal teknik som har dammats av. Redan Adobes gamla PostScript typ 1-typsnitt har en teknik som Adobe kallar Multiple Master (MM). Sedan gjorde Apple en egen utökning av TrueType-formatet, kallad TrueType GX. Microsoft ville licensiera den för användning i Windows, men därav vart intet. OpenType, Microsofts och Adobes vidareutveckling av TrueType, med stöd också för PostScript-konturer, innehöll ingen form av variationer, förrän 2016, med version 1.8. För variationerna i OpenType 1.8 har man utgått från TrueType GX.

FreeType hade f.ö. redan stöd för MM och TrueType GX.

Hoppas att FreeType i Ubuntu snart uppdateras till 2.7.1. :)
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

FreeType 2.8 släpptes i dag.

FreeType 2.8 has been released. CFF2 support and OpenType variation font handling is now complete; the auto-hinter now understands 25 more scripts, for example N’Ko and Tifinagh.

See here for a list of changes; noteworthy bug fixes are the handling of TrueType fonts: unhinted loading didn't work as expected, and the light auto-hinter used incorrect metrics.
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

FreeType 2.9 har släppts med Adobes CFF-rastrerare också för PostScript typ 1-typsnitt. Det är ett gammalt format som inte används så mycket, och LibreOffice 5.3 och nyare stöder det inte. Men andra program, som Scribus, stöder formatet.

Alla ändringar mellan 2.8.1 och 2.9:
Gömt innehåll: Visa!
CHANGES BETWEEN 2.8.1 and 2.9

I. IMPORTANT BUG FIXES

- Advance width values of variation fonts were often wrong.

- More fixes for variation font support; you should update to this
version if you want to support them.


II. IMPORTANT CHANGES

- As a GSoC project, Ewald Hew extended the new (Adobe) CFF engine
to handle Type 1 fonts also, thus greatly improving the
rendering of this format. This is the new default. The old
engine is still available if the configuration macro
`T1_CONFIG_OPTION_OLD_ENGINE' gets defined; using the
`hinting-engine' property of the `type1' driver module you can
then switch between the two engines.

- A new function, `FT_Set_Named_Instance', can be used to set or
change the current named instance.

- Starting with this FreeType version, resetting variation
coordinates will return to the currently selected named
instance. Previously, FreeType returned to the base font (i.e.,
no instance set).


III. MISCELLANEOUS

- The `face_flags' field of the `FT_Face' structure has a new bit,
`FT_FACE_FLAG_VARIATION', which is set if a variation font has
been altered with `FT_Set_MM_Design_Coordinates',
`FT_Set_Var_Design_Coordinates', or
`FT_Set_Var_Blend_Coordinates'.

- If the current face is a named instance, the new macro
`FT_IS_NAMED_INSTANCE' returns true.

- `FT_IS_VARIATION' is a new macro that returns true whenever a
face object has been altered by `FT_Set_MM_Design_Coordinates',
`FT_Set_Var_Design_Coordinates', or
`FT_Set_Var_Blend_Coordinates'.

- Changing the design coordinates of a variation font with
`FT_Set_Var_Design_Coordinates' or
`FT_Set_Var_Blend_Coordinates' does not influence the named
instance index value (only `FT_Set_Named_Instance' does that).

- Special PostScript names for named instances are only returned
if the named instance is set with `FT_Set_Named_Instance' (and
the font has corresponding entries in its `fvar' table). If
`FT_IS_VARIATION' returns true, the algorithmically derived
PostScript name is provided, not looking up special entries for
named instances.

- A new function `FT_Done_MM_Var' is provided to free the memory
returned in a call to `FT_Get_MM_Var'.

- On platforms using the `configure' script, the installed
`ftoption.h' file now correctly reflects configuration options
like `--with-harfbuzz'.

- Better support to build FreeType as a DLL on Windows using
Visual C.

- All data specific to driver modules is now collected in a single
file, `FT_DRIVER_H'. Consequently, the macros
`FT_AUTOHINTER_H', `FT_CFF_DRIVER_H', `FT_TRUETYPE_DRIVER_H',
and `FT_PCF_DRIVER_H' still work but are deprecated.

- Some fuzzer fixes to better reject malformed fonts.

- The `ftbench' demo program has a new test for opening a new face
and loading some glyphs.

- The `ftbench' demo program has a new option `-j' to specify the
last glyph index to be used in the tests.

- The `ftgrid' demo program has a new option `-n' to suppress
display of named instances of variation fonts.

- The `ttdebug' demo program can now show a stack trace (key `K')
and switch between hexadecimal and decimal display of integers
(key `I').
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Användarvisningsbild
JoWa
Global Moderator
Inlägg: 7763
Blev medlem: 09 jun 2012, 06:16
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS
Ort: Boo
Kontakt:

Re: Bättre textrendering på gång

Inlägg av JoWa »

FreeType 2.11.0 släpptes i går.
FreeType 2.11.0
2021-07-19

Our new release brings an additional rendering module to create Signed Distance Fields (SDF) for glyphs; it also introduces an experimental interface to access ‘COLR’ v1 fonts.
Alla ändringar från 2.10.4 till 2.11.0:
Gömt innehåll: Visa!
CHANGES BETWEEN 2.10.4 and 2.11.0

I. IMPORTANT CHANGES

- A new rendering module has been added to create 8-bit Signed
Distance Field (SDF) bitmaps for both outline and bitmap glyphs.
The new rendering mode is called `FT_RENDER_MODE_SDF`, the pixel
mode is `FT_PIXEL_MODE_GRAY8`, and the corresponding raster flag
is `FT_RASTER_FLAG_SDF`.

This work was Anuj Verma's GSoC 2020 project.

- A new, experimental API is now available for surfacing properties
of 'COLR' v1 color fonts (as the name says, this is an extension
to the 'COLR' table for outline color fonts using the SFNT
container format). 'COLR' v1 fonts are a recently proposed
addition to OFF and OpenType; specification work currently happens
in

https://github.com/googlefonts/colr-gradients-spec/

'COLR' v1 is expected to be merged to OpenType; the ISO
standardisation process for adding 'COLR' v1 as an amendment to
OFF is underway.

Functions similar to the already existing 'COLR' API have been
added to access the corresponding data.

FT_Get_Color_Glyph_Paint
Retrieve the root paint for a given glyph ID.

FT_Get_Paint_Layers
Access the layers of a `PaintColrLayers` table.

FT_Get_Colorline_Stops
Retrieve the 'color stops' on a color line. As an input, a
color stop iterator gets used, which in turn is retrieved from
a paint.

FT_Get_Paint
Dereference an `FT_OpaquePaint` object and retrieve the
corresponding `FT_COLR_Paint` object, which contains details
on how to draw the respective 'COLR' v1 `Paint` table.


II. MISCELLANEOUS

- FreeType has moved its infrastructure to

https://gitlab.freedesktop.org/freetype

A side effect is that the git repositories are now called
`freetype.git` and `freetype-demos.git`, which by default expand
to the directories `freetype` and `freetype-demos`, respectively.
The documentation has been updated accordingly.

FreeType's Savannah repositories will stay; they are now mirrors
of the 'freedesktop.org' repositories.

- A new function `FT_Get_Transform` returns the values set by
`FT_Set_Transform`.

- A new configuration macro `FT_DEBUG_LOGGING` is available. It
provides extended debugging capabilities for FreeType, for example
showing a time stamp or displaying the component a tracing message
comes from. See file `docs/DEBUG` for more information.

This work was Priyesh Kumar's GSoC 2020 project.

- The legacy Type 1 and CFF engines are further demoted due to lack
of CFF2 charstring support. You now need to use `FT_Property_Set`
to enable them besides the `T1_CONFIG_OPTION_OLD_ENGINE` and
`CFF_CONFIG_OPTION_OLD_ENGINE` options, respectively.

- The experimental 'warp' mode (AF_CONFIG_OPTION_USE_WARPER) for the
auto-hinter has been removed.

- The smooth rasterizer performance has been improved by >10%. Note
that due to necessary code changes there might be very subtle
differences in rendering. They are not visible by the eye,
however.

- PCF bitmap fonts compressed with LZW (these are usually files with
the extension `.pcf.Z`) are now handled correctly.

- Improved Meson build files, including support to build the
FreeType demo programs.

- A new demo program `ftsdf` is available to display Signed Distance
Fields of glyphs.

- The `ftlint` demo program has been extended to do more testing of
its input. In particular, it can display horizontal and vertical
acutances for quality assessment, together with computing MD5
checksums of rendered glyphs.

[The acutance measures how sharply the pixel coverage changes at
glyph edges. For monochrome bitmaps, it is always 2.0 in either
X or Y direction. For anti-aliased bitmaps, it depends on the
hinting and the shape of a glyph and might approach or even reach
value 2.0 for glyphs like 'I', 'L', '+', '-', or '=', while it
might be lower for glyphs like 'O', 'S', or 'W'.]

- The `ttdebug` demo program didn't show changed point coordinates
(bug introduced in version 2.10.3).

- It is now possible to adjust the axis increment for variable fonts
in the `ftmulti` demo program.

- It is now possible to change the hinting engine in the `ftstring`
demo program.

- The graphical demo programs work better now in native color depth
on win32 and x11.
FreeType 2.10.0 fick inget omnämnande då den släpptes, så det kommer här:
FreeType 2.10.0
2019-03-15

This release brings one notable feature, namely support for color-layered outline glyphs (for example, scalable emoji glyphs). Additionally, the API reference has been completely overhauled and modernized, as already announced.
Alla ändringar från 2.9.1 till 2.10:
Gömt innehåll: Visa!
CHANGES BETWEEN 2.9.1 and 2.10

I. IMPORTANT CHANGES

- A bunch of new functions has been added to access and process
COLR/CPAL data of OpenType fonts with color-layered glyphs.

FT_Palette_Data_Get
Retrieve color palette data.
FT_Palette_Select
Select and activate a color palette for color-layered
glyphs.
FT_Palette_Set_Foreground_Color
Set text foreground color for palette index 0xFFFF.

FT_Get_Color_Glyph_Layer
Get color layers for a given glyph (using an interator
object).

FT_Bitmap_Blend
Blend one bitmap onto another with a given color.

- An experimental feature is the new behaviour of the
`FT_LOAD_COLOR' load flag for color-layered glyphs: Internally
it sets a flag so that if `FT_Render_Glyph' is called with
`FT_RENDER_MODE_NORMAL' (or `FT_Load_Glyph' with
`FT_LOAD_RENDER'), a default blending of the color glyph layers
will happen automatically for convenience.

- As a GSoC 2018 project, Nikhil Ramakrishnan completely
overhauled and modernized the API reference.


II. MISCELLANEOUS

- The logic for computing the global ascender, descender, and
height of OpenType fonts has been slightly adjusted for
consistency.

. If the `useTypoMetrics' flag (i.e., bit 7 in the `fsSelection'
field) in the `OS/2' table is set, use the `sTypo' fields in
`OS/2' unconditionally.
. Otherwise use the metrics data from the `hhea' table (if not
zero).
. Otherwise use the `sTypo' fields from the `OS/2' table (if not
zero).
. Otherwise use the `usWin' data from the `OS/2' table as a last
resort.

Variable fonts will apply the `MVAR' deltas to whichever metrics
were picked.

- `TT_Set_MM_Blend' could fail if call repeatedly with the same
arguments.

- The precision of handling deltas in Variation Fonts has been
increased. The problem did only show up with multidimensional
designspaces.

- New function `FT_Library_SetLcdGeometry' to set up the geometry
of LCD subpixels.

- FreeType now uses the `defaultChar' property of PCF fonts to set
the glyph for the undefined character at glyph index 0 (as
FreeType already does for all other supported font formats). As
a consequence, the order of glyphs of a PCF font if accessed
with FreeType can be different now compared to previous
versions.

This change doesn't affect PCF font access with cmaps.

- `FT_Select_Charmap' has been changed to allow parameter value
`FT_ENCODING_NONE', which is valid for BDF, PCF, and Windows FNT
formats to access built-in cmaps that don't have a predefined
`FT_Encoding' value.

- A previously reserved field in the `FT_GlyphSlotRec' structure
now holds the glyph index.

- On Win32 platforms, the use of `_DLL' to build the library has
been replaced with `DLL_EXPORT' and `DLL_IMPORT'.

- The usual round of fuzzer bug fixes to better reject malformed
fonts.

- `FT_Outline_New_Internal' and `FT_Outline_Done_Internal' have
been removed. These two functions were public by oversight only
and were never documented.

- A new function `FT_Error_String' returns descriptions of error
codes if configuration macro FT_CONFIG_OPTION_ERROR_STRINGS is
defined.

- `FT_Set_MM_WeightVector' and `FT_Get_MM_WeightVector' are new
functions limited to Adobe MultiMaster fonts to directly set and
get the weight vector.

- Support for Position Independent Code as needed by systems that
prohibit automatic address fixups, such as BREW, has been
removed. [Compilation with modern compilers that use flags like
`-fPIC' or `-fPIE' is not affected.]

- The `ftdump' demo program has new options `-c' and `-C' to
display charmaps in compact and detailed format, respectively.
Option `-V' has been removed.

- The `ftview', `ftstring', and `ftgrid' demo programs use a new
command line option `-d' to specify the program window's width,
height, and color depth.

- The `ftview' demo program now displays red boxes for zero-width
glyphs.

- `ftglyph' has limited support to display fonts with
color-layered glyphs. This will be improved later on.

- `ftgrid' can now display bitmap fonts also.

- The `ttdebug' demo program has a new option `-f' to select a
member of a TrueType collection (TTC).

- Other various improvements to the demo programs.
Noble Numbat | Firefox 124β (snap) | Privacy Badger
Skriv svar

Återgå till "Skrivbordet"