unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Should font-build-system compile sfd fonts?
@ 2019-05-03  7:40 Brendan Tildesley
  2019-05-03 15:23 ` L p R n d n
  0 siblings, 1 reply; 2+ messages in thread
From: Brendan Tildesley @ 2019-05-03  7:40 UTC (permalink / raw)
  To: guix-devel

I'm calling for anyone's opinion on this. Currently there are a few
fonts which more-or-less copy-paste the same code for compiling sfd
files in to ttf and otf, which requires fontforge. I wish to add another
font, but didn't want to add to this duplication. Most fonts don't
require it, but it wouldn't be harmful, apart from dragging in
fontforge, would adding a 'build phase that does this to
font-build-system be reasonable. I'm not actually sure how to add a
required native-input to a build system. Or is there a better idea?
Making a whole new sfd-font-build-system, or defining a build-sdf-fonts
symbol that could be added with modify-phases and adding fontforge to
native-inputs?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Should font-build-system compile sfd fonts?
  2019-05-03  7:40 Should font-build-system compile sfd fonts? Brendan Tildesley
@ 2019-05-03 15:23 ` L p R n d n
  0 siblings, 0 replies; 2+ messages in thread
From: L p R n d n @ 2019-05-03 15:23 UTC (permalink / raw)
  To: Brendan Tildesley; +Cc: guix-devel

Hello,

Brendan Tildesley <mail@brendan.scot> writes:

> I'm calling for anyone's opinion on this. Currently there are a few
> fonts which more-or-less copy-paste the same code for compiling sfd
> files in to ttf and otf, which requires fontforge. I wish to add another
> font, but didn't want to add to this duplication. Most fonts don't
> require it, but it wouldn't be harmful, apart from dragging in
> fontforge, would adding a 'build phase that does this to
> font-build-system be reasonable. I'm not actually sure how to add a
> required native-input to a build system. Or is there a better idea?
> Making a whole new sfd-font-build-system, or defining a build-sdf-fonts
> symbol that could be added with modify-phases and adding fontforge to
> native-inputs?

Maybe adding an optional phase like #:glib-or-gtk? for meson?
We would get a #sfd-font? argument in the font-build-system.

What do you think?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-03 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-03  7:40 Should font-build-system compile sfd fonts? Brendan Tildesley
2019-05-03 15:23 ` L p R n d n

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).