libschrift icon indicating copy to clipboard operation
libschrift copied to clipboard

A lightweight TrueType font rendering library

Results 18 libschrift issues
Sort by recently updated
recently updated
newest added

https://tomolt.github.io/libschrift/v0.10.2.schrift.3.html#RETURN_VALUES sft_gmetrics() instead of sft_hmetrics()

Added demo UI app for windows. Changed VS version to 2022 and toolset to v143. Changed stress project to use project references for schrift lib.

csearch() has multiple edge cases, notably when the search key is larger than any elements in the array. Go through all occurences of csearch in the code and make sure...

Hi, I am working on implementing this library on my hardware platform. To get higher performance, I plan to harden some calculation function in FPGA. The function draw_line looks suitable...

The demos included in libschrift depend on the X11 graphics environment. I've written a longer, exploratory demo that does not: instead, it generates a PGM file, which can be viewed...

> time make ``` cc -Os -std=c99 -pedantic -Wall -Wextra -Wconversion -c -o schrift.o schrift.c ar rc libschrift.a schrift.o ranlib libschrift.a cc -c -g -Os -std=c99 -pedantic -Wall -Wextra demo.c...

cmap_fmt12_13 should use binary search instead of linear. There are thousands of group records in Japanese and Chinese fonts.

When there is more than 1 subtable the loop will break because it adds to offset more than just the subtable length. offset += 6; offset += 8; offset +=...