paneron / extension-smart

MIT License
2 stars 2 forks source link

Font selection #5

Closed ronaldtse closed 3 years ago

ronaldtse commented 3 years ago

From @wkwong-ribose

For font, Anton said he would see if Paneron can provide a mechanism for the extension to load the font files.

We have to use openly-licensed fonts since this is a public extension.

cc: @strogonoff , @edhenderson

originally at https://github.com/paneron/extension-hls/issues/4#issuecomment-905189352

strogonoff commented 3 years ago

Correct. Also, I’m still of the opinion that if we can do without custom fonts for now, that would be ideal for UX consistency across Paneron.

On 25 Aug 2021, at 1:48 PM, Ronald Tse @.***> wrote:

From @wkwong-ribose

For font, Anton said he would see if Paneron can provide a mechanism for the extension to load the font files.

We have to use openly-licensed fonts since this is a public extension.

cc: @strogonoff , @edhenderson

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

edhenderson commented 3 years ago

We can load the CSS such that:

I don't believe the UX of the app will be drastically affected by a tweak to the font.

ronaldtse commented 3 years ago

@edhenderson sounds reasonable to me. We do keep in mind if BSI wants a branded version of Paneron we would need to do some tailoring somewhere, but that's then.

strogonoff commented 3 years ago

Note that this method will not fall back to the font provided by Paneron’s stylesheet.

Going to check which which font stack is used by Paneron, probably the ideal fallback if BSI fonts are not available.

On 25 Aug 2021, at 11:26 PM, Ed Henderson @.***> wrote:

 We can load the CSS such that:

looks for the BSI fonts fallback to open source font fallback to generic/common font fallback to sans-serif (which on most computers will be Arial, Helvetica, or similar) I don't believe the UX of the app will be drastically affected by a tweak to the font.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

edhenderson commented 3 years ago

@edhenderson sounds reasonable to me. We do keep in mind if BSI wants a branded version of Paneron we would need to do some tailoring somewhere, but that's then.

Understood, how likely is this do you think?

edhenderson commented 3 years ago

Note that this method will not fall back to the font provided by Paneron’s stylesheet. Going to check which which font stack is used by Paneron, probably the ideal fallback if BSI fonts are not available.

Thats great, let me know. How are fonts served in Paneron?

ronaldtse commented 3 years ago

@edhenderson its a certainty, I just don’t know when would be the latest delivery date for it.