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

variable font #27

Closed
subframe7536 opened this issue Aug 26, 2022 · 27 comments
Closed

variable font #27

subframe7536 opened this issue Aug 26, 2022 · 27 comments
Labels
feature New feature or request V7 Created in V6, already fixed in V7 Beta

Comments

@subframe7536
Copy link
Owner

subframe7536 commented Aug 26, 2022

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

@subframe7536 subframe7536 moved this from Mono to further in Maple Mono Sep 2, 2022
@subframe7536 subframe7536 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2023
@subframe7536 subframe7536 reopened this Jul 6, 2023
@subframe7536 subframe7536 moved this to v7 in Maple Mono Jul 6, 2023
@shindgewongxj
Copy link

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

@subframe7536
Copy link
Owner Author

early stage
show

@subframe7536 subframe7536 pinned this issue Dec 24, 2023
@subframe7536 subframe7536 changed the title variable font V7: variable font and Missing characters / ligatures Dec 24, 2023
@subframe7536 subframe7536 moved this from v7 to working in Maple Mono Dec 24, 2023
@subframe7536 subframe7536 changed the title V7: variable font and Missing characters / ligatures variable font Dec 24, 2023
@subframe7536 subframe7536 unpinned this issue Dec 24, 2023
@subframe7536
Copy link
Owner Author

Maybe result in a modified version of Jetbrains Mono

@subframe7536
Copy link
Owner Author

image
none-ligature characters schedule

@subframe7536
Copy link
Owner Author

subframe7536 commented Jan 26, 2024

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

considering use .ttx files as source file like V6

@subframe7536
Copy link
Owner Author

subframe7536 commented Jan 27, 2024

image

symbols and ligatures

@subframe7536
Copy link
Owner Author

subframe7536 commented Feb 5, 2024

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

@subframe7536
Copy link
Owner Author

update

recording

@subframe7536
Copy link
Owner Author

subframe7536 commented Feb 9, 2024

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

@chmielcode
Copy link

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
Copy link
Owner Author

@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
Copy link

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
Copy link
Owner Author

alternative a is changed to cv02 in V7

@zetaloop
Copy link

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
Copy link
Owner Author

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

@subframe7536
Copy link
Owner Author

src-font.zip
test italic

@subframe7536
Copy link
Owner Author

it seems that italic style cannot properly recognized on Windows

@subframe7536
Copy link
Owner Author

update

Image

@chmielcode
Copy link

chmielcode commented Feb 23, 2024

@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
Copy link
Owner Author

Almost all the work have been done.

@subframe7536
Copy link
Owner Author

subframe7536 commented Feb 24, 2024

@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😂

@subframe7536 subframe7536 moved this from working to Done in Maple Mono Feb 24, 2024
@chmielcode
Copy link

@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
Copy link
Owner Author

@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
Copy link

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
Copy link
Owner Author

subframe7536 commented Feb 25, 2024

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
Copy link

@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
Copy link
Owner Author

I think Roboto Mono's principle is maybe better

image

  • Roboto Mono: regular, bold, italic, bold italic
  • Roboto Light: light, light italic
  • Roboto Medium: medium, medium light
  • Roboto Think: thin, thin italic

@subframe7536 subframe7536 added the V7 Created in V6, already fixed in V7 Beta label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request V7 Created in V6, already fixed in V7 Beta
Projects
Status: Done
Development

No branches or pull requests

4 participants