roired / CudaText-Haiku

Haiku files for CudaText code/text editor
5 stars 0 forks source link

default font name in Haiku? #4

Closed Alexey-T closed 3 years ago

Alexey-T commented 3 years ago

I can properly init the haiku's default monospaced font name. what is the font name? monospaced font! the issue #2 shows screen with non-monospaced one.

Begasus commented 3 years ago

Afaikt Haiku uses Noto as a default font

Alexey-T commented 3 years ago

'Noto'? @roired Is this true?

roired commented 3 years ago

It seems so, though my default is Monoid Nerd. If I do install CudaText on a clean VM, without any added fonts, Noto is the default, so it seems.

Begasus commented 3 years ago

If this is a requirement it could be added to the recipe (providing Monoid is available there, didn't check) and an option to set it as default font for CudaText?

Alexey-T commented 3 years ago

I hardcoded this font name as default

Begasus commented 3 years ago

You should put that as a dependency for CudaText in your recipe/script now @roired

roired commented 3 years ago

@Begasus ,You mean, add the Noto font to the .PackageInfo?

Begasus commented 3 years ago

@roired yes (as mentioned, I never used .PackageInfo to build a port, so I'm not familiar there on how it works)

Alexey-T commented 3 years ago

IMO no need to require any font, app will work even without it