Taco de Wolff
Taco de Wolff
Should be working now in v2.7.14! Please let me know how it goes.
Yes, a more generic style parameter that covers weight and italic would be great. Additionally, you could think of adding language support too, much like does `fc-match`: https://www.mankier.com/1/fc-match#Examples. For example,...
That sounds like exactly something I'd need! I agree that a custom type for the weight might be a good idea (similar to what I have in https://github.com/tdewolff/canvas/blob/master/font.go#L19), which seems...
Could be as easy as ``` go b, err := exec.Command("fc-match", "--format=%{file}", name).Output() filename := string(b) ``` as I did in https://github.com/tdewolff/canvas/blob/master/fontface.go#L59
Does that work for Windows as well? I've been using https://github.com/adrg/sysfont instead
This was fixed in [v2.20.13](https://github.com/tdewolff/minify/releases/tag/v2.20.13), please update to the latest version!
Hi Hansung, yes this is correct. You specify a string literal with content `15 min`, we can't remove the spaces like we do with HTML. Only in HTML are multiple...
I agree that would be a good addition. There is already quite some code related to (compressed) PostScript inside OTF fonts in https://github.com/tdewolff/font/blob/master/sfnt_cff.go#L259, the only difference would be reading a...
Hi Romain, thank you for the kind words. What you describe is indeed lacking from this library, but unfortunately involves quite a lot of work. First of all, we'd need...
I think we should add `type FontFamilies []*FontFamily` as a list of fallback font families, as well as `type Fonts []*Font`. Both should have `Face` method (like `Font` and `FontFamily`)...