Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More convenient font list #81

Closed
ewxrjk opened this issue Sep 20, 2020 · 0 comments
Closed

More convenient font list #81

ewxrjk opened this issue Sep 20, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@ewxrjk
Copy link
Owner

@ewxrjk ewxrjk commented Sep 20, 2020

In rsbackup.5:

   Fonts
       FONT is a Pango font description.  The syntax is "[FAMILY-LIST] [STYLE-
       OPTIONS] [SIZE]" where:

       FAMILY-LIST
              A  comma-separate  list of font families.  These necessarily de‐
              pend on the fonts installed locally but Pango  recognizes  mono‐
              space, sans and and serif as generic family names.

              To get a list of Pango fonts:

                  python -c 'import pangocairo;print("\n".join([font.get_name() for font in pangocairo.cairo_font_map_get_default().list_families()]))'

The rune only works if you have the right Python version and modules installed.

Instead, rsbackup-graph could have an option to output a font list.

@ewxrjk ewxrjk added the usability label Sep 20, 2020
@ewxrjk ewxrjk added this to the 8.0 milestone Sep 20, 2020
@ewxrjk ewxrjk self-assigned this Dec 27, 2020
@ewxrjk ewxrjk closed this in f8ab850 Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant