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

.pcf Font Support #384

Open
merrittlj opened this issue Feb 11, 2024 · 2 comments
Open

.pcf Font Support #384

merrittlj opened this issue Feb 11, 2024 · 2 comments

Comments

@merrittlj
Copy link
Contributor

It doesn't seem like .pcf fonts work, unless I am inputting the name wrong in some way. In other applications that I know support .pcf fonts, I would type something such as "ProFont:size=22", but in bemenu "ProFont 22" does not work(ProFont is installed as a .pcf font).

On a side note, is it possible to force disable anti-aliasing and use other stylistic options(such as bold)?

@Cloudef
Copy link
Owner

Cloudef commented Feb 11, 2024

Bemenu font support is completely provided by pango, the relevant function used by bemenu is this https://docs.gtk.org/Pango/type_func.FontDescription.from_string.html

It seems pango used to support pcf through freetype before but has dropped the support
https://blogs.gnome.org/mclasen/2019/05/25/pango-future-directions/
https://gitlab.gnome.org/GNOME/pango/-/issues/386

@merrittlj
Copy link
Contributor Author

merrittlj commented Feb 12, 2024

Ah, Pango. They removed bitmap font support sometime back, so no .pcf or similar, but I think OTBs still work fine.

On a side note, should styles be documented in the --help option/man page? Only size is shown as an option, and this may not be super user-friendly for those who want to use other stylistic options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants