subframe7536 / maple-font

[try V7!] Maple Mono: Open source monospace font with round corner, ligatures and Nerd-Font for IDE and command line. 带连字和控制台图标的圆角等宽字体,中英文宽度完美2:1
SIL Open Font License 1.1
4.72k stars 69 forks source link

variable font #27

Open subframe7536 opened 2 years ago

subframe7536 commented 2 years ago

https://github.com/users/subframe7536/projects/1

shindgewongxj commented 1 year ago

Love to know that ttf variable is confirmed to launch in Maple Mono version 7.0 !

subframe7536 commented 10 months ago

early stage show

subframe7536 commented 9 months ago

Maybe result in a modified version of Jetbrains Mono

subframe7536 commented 9 months ago

image none-ligature characters schedule

subframe7536 commented 9 months ago

the .glyphs file generated by FontLab maybe cannot directly compile to font using fontmake

considering use .ttx files as source file like V6

subframe7536 commented 9 months ago

image

symbols and ligatures

subframe7536 commented 9 months ago

Can anyone tell me what are the usage scenarios for the ligatures of --}} {{-- {!-- {!! !!} <#--

subframe7536 commented 9 months ago

update

recording

subframe7536 commented 8 months ago

There is too few open tutorial/guide about fonttools/fontlab scripts/fontmake...

chmielcode commented 8 months ago

This is some great font and thanks to it's thickness it renders perfectly in most cases. However, I find the V7 shape of "a" standing out too much and it distracts me. I know, maybe it's just me, but it would be nice to have a more straight variant (possibly as default). Thank you very much for your work :)

subframe7536 commented 8 months ago

@chmielcode Thanks for your feedback! There still a lot of works to migrate all the cursive characters, variants and stylesets from v6.

Maybe you need the variant of cv03 in v6? It offers a more generic style of "a"

chmielcode commented 8 months ago

Yes, CV03 variant looks great and would make for a great default version of "a" in my opinion. Then again I believe I can "freeze" the font with cv03 enabled as soon as it's available so that all tools I use display it correctly. Or maybe I'll just get used to it :) There is no going back from V7 for me since it has polish letters.

subframe7536 commented 8 months ago

alternative a is changed to cv02 in V7

zetaloop commented 8 months ago

Can anyone tell me what are the usage scenarios for the ligatures of --}} {{-- {!-- {!! !!} <#--

Looks like some comment or variable blocks in HTML template engines such as Blade, Handlebars and FreeMarker.

{{-- Blade comment --}}
{!! $Blade_raw_html !!}
{{!-- Handlebars comment --}}
<#-- FreeMarker comment -->

However Handlebars uses {{!-- rather than {!--. I didn't find much information about {!-- on GitHub.

subframe7536 commented 8 months ago

@zetaloop Thanks for your explaination. I will restore them in next release

subframe7536 commented 8 months ago

src-font.zip test italic

subframe7536 commented 8 months ago

it seems that italic style cannot properly recognized on Windows

subframe7536 commented 8 months ago

update

Image

chmielcode commented 8 months ago

@subframe7536 To make Maple Mono VF (and static) work on Windows with italics I had to rename Font family from "Maple Mono Italic" to "Maple Mono" using Font Forge. obraz I'm no font expert, but I hope it helps :)

subframe7536 commented 8 months ago

Almost all the work have been done.

subframe7536 commented 8 months ago

@chmielcode Thanks for your advice. This issue should be fixed in v7-beta4, you can have a try

By the way, I'm also not a font expert. I self-taught everything😂

chmielcode commented 8 months ago

@subframe7536 Yes, variable font looks and should work fine now with b4. Thank you! Static fonts (ttf autohinted) still have separate family names per variant though. Some apps know how to deal with it and some (notably Notepad++) don't.

subframe7536 commented 8 months ago

@chmielcode I think the family name in current version have already been handled, can you provide more info or examples?

Maple Mono's config: image

Other variable fonts' config:

image

image

image

chmielcode commented 8 months ago

Out of the box font selection for b4 ttfautohint static release: obraz In this case some (most?) windows apps cannot link Regular to Bold and other variants.

Fixed by removing variant (e.g. Regular, Bold etc.) name from Font family: obraz

@subframe7536 Here is my edited version of b3 for you too look at. Maybe the difference will be easier to spot this way. *Linegap change is irrelevant. mm7bs_fix_lg30.zip

subframe7536 commented 8 months ago

Seems that it is caused by "style group" and make them same will cause #147

Almost all of other monospace fonts choose to make them different

Maybe it is sth conventional?

chmielcode commented 8 months ago

@subframe7536 Hmmm... Screenshots you took of JetBrains Mono Style Groups tell me that this is not the same thing. obraz

Beta4 obraz

Beta5 obraz

So now beta5 should work fine as JetBrains Mono does on Windows. I believe it could be conventional since, as mentioned before, some apps can work around it and find other styles without common Font family name. I don't know. If this change breaks everything else I'm perfectly fine with making the font family change for myself :) Already using (fixed) b3 everywhere with no issues at all.

subframe7536 commented 8 months ago

I think Roboto Mono's principle is maybe better

image