font-kit icon indicating copy to clipboard operation
font-kit copied to clipboard

A cross-platform font loading library written in Rust

Results 59 font-kit issues
Sort by recently updated
recently updated
newest added

## Proposals I want to load fonts in arbitrary directories. So, I propose following factory function for `FsSource`. ```rust impl FsSource { pub fn from_directories(directories: &[P]) -> FsSource { ......

I don't really understand what's going on here. All I really know is that I ran into one of the standard library's debug assertions when running some of the examples...

Does font-kit support being built in Docker using the [rust-musl-bulider](https://github.com/emk/rust-musl-builder)? I am trying to produce a fully static binary to be used on an Alpine Linux image. I am currently...

enhancement
fontconfig

We use font-kit for font rendering in our MacOS app (https://github.com/warpdotdev/Warp), and I noticed that characters sometimes are rendered without the top row of pixels. For example, when using Courier...

https://github.com/servo/font-kit/pull/179 looks like a pretty solid start.

This reverts commit ec11b73c4801444dd3eabe9d334ec644d66fc5b3. Sorry, but I think I made a [mistake](https://github.com/servo/font-kit/pull/162), actually the memory leaking was caused by https://github.com/servo/core-foundation-rs/commit/dc588497db727a3ba943aaecc83d2a07dc6d6b0a cc @jrmuizel

I am trying to use the 'BASE' [table](https://docs.microsoft.com/en-us/typography/opentype/spec/base) in OpenType font and the following code returns None for some reason: ```rust let BASE_TABLE_TAG = 0x62736c6e; // The hex code for...

The dependency on servo-fontconfig causes issues because it was built with an earlier version of fontconfig this tends to mess up with most linux systems causing runtime errors of the...

How to retrieve a colored emoji from a font? We have `Loader::outline`, but for emojis we have to return an SVG? I have no idea how this is implemented in...

enhancement

``` thread 'main' panicked at 'assertion failed: `(left == right)` left: `23`, right: `0`', /home/shui/.cargo/registry/src/github.com-1ecc6299db9ec823/font-kit-0.5.0/src/loaders/freetype.rs:1148:9 stack backtrace: 0: 0x55f70db7e108 - backtrace::backtrace::libunwind::trace::hccf7fcb8c3efd6c9 at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88 1: 0x55f70db7e108 - backtrace::backtrace::trace_unsynchronized::hdc571c1189c74524 at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66 2:...