Config.in 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. config BR2_PACKAGE_FCFT
  2. bool "fcft"
  3. depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # C11 threads
  4. select BR2_PACKAGE_FONTCONFIG
  5. select BR2_PACKAGE_FREETYPE
  6. select BR2_PACKAGE_PIXMAN
  7. select BR2_PACKAGE_TLLIST
  8. help
  9. A simple library for font loading and glyph rasterization
  10. using FontConfig, FreeType and pixman.
  11. https://codeberg.org/dnkl/fcft
  12. if BR2_PACKAGE_FCFT
  13. config BR2_PACKAGE_FCFT_GRAPHEME_SHAPING
  14. bool "grapheme-shaping"
  15. depends on BR2_INSTALL_LIBSTDCPP # harfbuzz
  16. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz
  17. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # harfbuzz
  18. select BR2_PACKAGE_HARFBUZZ
  19. help
  20. Enables shaping of individual grapheme clusters
  21. comment "grapheme-shaping needs a toolchain w/ C++, gcc >= 4.9"
  22. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  23. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  24. config BR2_PACKAGE_FCFT_RUN_SHAPING
  25. bool "run-shaping"
  26. depends on BR2_INSTALL_LIBSTDCPP # harfbuzz
  27. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz
  28. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # harfbuzz
  29. select BR2_PACKAGE_HARFBUZZ
  30. select BR2_PACKAGE_UTF8PROC
  31. help
  32. Enables shaping of whole text runs.
  33. comment "run-shaping needs a toolchain w/ C++, gcc >= 4.9"
  34. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  35. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  36. config BR2_PACKAGE_FCFT_SVG_SUPPORT
  37. bool "svg support"
  38. help
  39. Enables svg support. This option increases the size of the
  40. library by approximately 55KB.
  41. endif # BR2_PACKAGE_FCFT
  42. comment "fcft needs a glibc or musl toolchain"
  43. depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)