SHA256
1
0
forked from pool/fcft

19 Commits

Author SHA256 Message Date
Arnav Singh
90a6c01cba - Update to 3.1.8:
* Fixed setting font size to do it in points instead of pixels so that
    it works with fractional pixel sizes.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=29
2024-02-26 17:47:17 +00:00
Arnav Singh
cf38997511 - Update to 3.1.7:
* Fixed infinite loop on certain invalid fontfeatures values.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=27
2023-12-15 08:48:26 +00:00
Arnav Singh
2add64b679 - Update to 3.1.6:
* Updated bundled nanosvg.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=25
2023-07-14 16:49:27 +00:00
Arnav Singh
ef1c7ece2e - Update to 3.1.5:
* SVG fonts now ignore user transformations instead of failing with
    "unimplemented feature".
  * Updated glyph advance width calculation for Harfbuzz 5.2 changes.
    The new calculation is incompatible with Harfbuzz 5.1 and earlier, so
    required version of Harfbuzz has been increased to 5.2.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=23
2022-09-23 22:11:35 +00:00
Arnav Singh
903f7e0c60 - Update to 3.1.4:
* Fixed crash when failing to load an SVG glyph with multiple sub-glyphs.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=21
2022-09-06 19:20:21 +00:00
Arnav Singh
bbd550a86b - Update to 3.1.3:
* Fixed bitmap font glyph advance width calculation when the user has
    enabled 10-scale-bitmap-fonts.conf in fontconfig.
- Fix libfcft package missing license file, and remove redundant copy of
  doc files and license in $datadir/doc/fcft/

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=19
2022-08-22 18:38:15 +00:00
Arnav Singh
e5486c2db6 - Update to 3.1.2:
* Fixed SVG glyphs failing with “bad argument” if LCD subpixel rendering is
    enabled.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=17
2022-05-19 21:11:38 +00:00
Arnav Singh
3d59ab6849 - Update to 3.1.1:
* Added OT-SVG support using a bundled nanosvg as backend.
    FCFT_CAPABILITY_SVG has been added to fcft_capabilities to detect this.
  * Fixed fcft_font::name, and fcft_glyph::font_name not being set correctly
    for font collections (e.g. *.ttc files).
  * Fixed assertion inside HarfBuzz with fcft_rasterize_grapheme_ut32
    when rasterizing a glyph fails.
- Set all options and features explicitly instead of relying on auto-detection
  to ensure build fails if dependencies change.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=15
2022-05-01 20:44:08 +00:00
4c96c36a57 Accepting request 955209 from home:alarrosa:branches:X11:Wayland
- Leap 15.4 uses python3.6 so the python3-dataclasses is
  BuildRequired. Also, gcc-11 is enforced in Leap since gcc7 which
  is used by default is too old

OBS-URL: https://build.opensuse.org/request/show/955209
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=14
2022-02-17 17:45:59 +00:00
Arnav Singh
46da671458 - Update to 3.0.1:
* Added fcft_font.name member for the name of the primary font.
  * Added fcft_glyph.font_name member for the name of the font that the glyph
    was loaded from.
  * Added fcft_init and fcft_fini to initialize and deinitialize the library,
    which must now be called explicitly. Also, fcft_log_init has been removed,
    and logging is now initialized by fcft_init.
  * All wchar_t usage has been replaced with uint32_t. Also,
    fcft_{glyph,grapheme,text_run}_rasterize have been renamed to
    fcft_rasterize_{char,grapheme,text_run}_utf32 to emphasize this.
  * fcft_rasterize_grapheme_utf32 no longer accepts layout tags, unlike
    its predecessor fcft_grapheme_rasterize. They should be
    set using fontfeature when calling fcft_from_name.
  * Removed fcft_size_adjust.
  * Removed fcft_font.space_advance member.
  * Fixed bug in fcft_rasterize_text_run_utf32 due to uninitialized variable.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=13
2022-02-05 23:26:31 +00:00
Arnav Singh
955e6b8ff1 - Update to 2.5.1:
* fcft_set_scaling_filter now applies to color bitmap fonts only,
    ie emoji fonts.
  * Fixed incorrect value of FCFT_SCALING_FILTER_CUBIC constant.
  * Fixed pixman errors and program freezes when scaling bitmap fonts to
    very small sizes.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=12
2021-12-08 20:33:08 +00:00
Arnav Singh
4404d195db - Update to 2.5.0:
* Added fcft_set_emoji_presentation that can be used to override
    emojis' default presentation style.
  * Changed fcft_*_rasterize so that emoji's default presentation is now
    accounted for when searching for a font containing the emoji codepoint,
    codepoints whose default presentation is "text" will no longer consider
    emoji fonts, and codepoints whose default presentation is "emoji" will
    no longer consider non-emoji fonts.
  * Improved handling of RTL scripts in fcft_text_run_rasterize

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=11
2021-11-13 12:37:41 +00:00
Arnav Singh
9f181769f4 - Update to 2.4.6:
* Updated UnicodeData to 14.0
  * Fixed fcft_glyph.wc to be the Unicode codepoint instead of font index.
  * Fixed assertion in glyph_cache_resize when rasterizing a large amount of
    code points.
  * Fixed bad performance of grapheme cache when rasterizing
    many grapheme clusters.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=10
2021-10-26 05:41:29 +00:00
Arnav Singh
0df2a52ecf - Update to 2.4.5:
* Fixed fcft_text_run_rasterize not checking if codepoint is in
    the font’s charset before attempting shaping.
  * Fixed crash when destroying a font with a grapheme cache entry
    representing a failed grapheme glyph.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=9
2021-08-14 16:45:27 +00:00
Arnav Singh
3516bf7667 - Update to 2.4.4:
* Fixed rendering of bitmap fonts with Freetype >= 2.11

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=8
2021-07-22 09:21:29 +00:00
Arnav Singh
476903a26c - Update to 2.4.3:
* Fixed bitmap/aliased font glyphs being mirrored on
    big-endian architectures.
  * Fixed color font glyphs having wrong colors on big-endian architectures.
  * Fixed crash when destroying a font that failed to load
    (typically happens when there are no fonts available at all).

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=7
2021-07-18 17:03:31 +00:00
Arnav Singh
47244e1fd3 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=6 2021-07-08 02:27:46 +00:00
Arnav Singh
f61cd3c533 - Update to 2.4.1:
* Log messages are now printed to stderr instead of stdout.
  * fcft_grapheme_rasterize() now sets a minimum grapheme column count of 2
    when the cluster ends with an Emoji variant selector (codepoint 0xFE0F).
  * Fixed compilation error when fallback definition for FCFT_EXPORT was used
    in meson.build.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=4
2021-07-01 19:51:28 +00:00
9b953a2c32 Accepting request 899429 from home:Arnavion
Add fcft package, a dependency of foot.

OBS-URL: https://build.opensuse.org/request/show/899429
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=1
2021-06-11 10:32:57 +00:00