Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 20:44
    behdad synchronize #2958
  • Jan 31 20:44

    behdad on varc

    [interpolatable_test] Test VarC… (compare)

  • Jan 31 20:25
    behdad synchronize #2958
  • Jan 31 20:25

    behdad on varc

    [instancer_test] Add varComposi… (compare)

  • Jan 31 19:47
    behdad commented #2958
  • Jan 31 19:47
    behdad synchronize #2958
  • Jan 31 19:47

    behdad on varc

    [woff2] Add fvar to glyf depend… (compare)

  • Jan 31 19:31
    behdad commented #2958
  • Jan 31 19:17
    behdad commented #2958
  • Jan 31 18:30
    behdad synchronize #2958
  • Jan 31 18:30

    behdad on varc

    [VarComposite] Link to spec (compare)

  • Jan 31 18:15
    behdad synchronize #2958
  • Jan 31 18:15

    behdad on varc

    [VarComposite] Link to spec (compare)

  • Jan 31 13:55
    justvanrossum commented #2878
  • Jan 31 13:16
    typesupply commented #2972
  • Jan 31 08:10
    justvanrossum commented #2972
  • Jan 31 02:33
    behdad opened #2976
  • Jan 31 01:14
    typesupply commented #2972
  • Jan 30 22:33
    typemytype commented #2878
  • Jan 30 22:25
    behdad commented #2878
madigens
@madigens:matrix.org
[m]
hi! have a look at fonttools' pyftsubset. i don't know if type3/42 is supported
Johns Mak
@johns5398_gitlab
Found something interesting on Google related to UNICODE https://www.copyandpastefont.com/
一丝
@yisibl
Hello everyone. Does anyone know that Android supports the COLR format?
Cosimo Lupo
@anthrotype
Try yourself using pixelambacht.nl/chromacheck/
of course COLR right now means COLRv0, for v1 you'd have to wait..
一丝
@yisibl
I mean is COLRv0 supported in Android native UI?
Cosimo Lupo
@anthrotype
ah ok. then I'm not sure, will ask and let you know
一丝
@yisibl
Thanks, I think the support of Android is also meaningful for the popularization of COLRv1 in the future.
anthrotype
@anthrotype:matrix.org
[m]
yeah but that's for the future, you asked about COLRv0
v1 will come in due course, don't know nor I can say when
you may as well try and see if it works, if you know how to. I don't
一丝
@yisibl
Well, I want to know about COLRv0 first. After all, this is a mature one.
anthrotype
@anthrotype:matrix.org
[m]
I never built an android app so I would not know how to embed a font in it. If you do know, you can try and check if it works.
or check again later, I asked a colleague in california but they are sleeping right now
一丝
@yisibl
We have an older document(https://www.iconfont.cn/help/detail?helptype=code), but I have never developed an Android client 😂🤣.
一丝
@yisibl
http://variableemojis.com/ Interesting demo.
一丝
@yisibl
@anthrotype:matrix.org Does your colleague have a reply yet?
anthrotype
@anthrotype:matrix.org
[m]
I asked a couple people, both were not sure, they said it should be supported but they would not know offhand
you'd better try out yourself
一丝
@yisibl
Okay, thanks.
The bad news, Apple may not support COLRv1 in a short time
To be honest, their own support for svg in ot is also terrible.
一丝
@yisibl
Not supporting <use> increases the font file size and also increases the development cost of open source tools. googlefonts/nanoemoji#266
n8willis
@n8willis
Does anyone have any recommendations for examples/docs/discussion for practical work on T1 fonts directly in FontTools?
(for context, this is me with working code for ttLib wanting to avoid the need to cycle type-1 fonts through makeotf solely to make them readable. On the plus side, all I do with them is read them; I don't need to build any type-1 binaries...)
n8willis
@n8willis
🥇
Cool; thanks!
Font stuff would sure be a lot easier without all the corner cases.
(I dunno if anyone else has noticed that.)
madigens
@madigens:matrix.org
[m]
we should rewrite fonts in rust
moyogo
@moyogo:matrix.org
[m]
fonts themselves, lol
anthrotype
@anthrotype:matrix.org
[m]
🚀
一丝
@yisibl
image.png
🚀🚀🚀
madigens
@madigens:matrix.org
[m]
yes, it's impressive! haven't had a chance to dig into it yet though
一丝
@yisibl
image.png
n8willis
@n8willis
I've been trying to add a Subsetter() to some code and it's raising a weird TypeError that I can't figure out the reason for....
specifically, it's in unicodes_missing, where it tries to log a missing unicode val, it's tripping up with TypeError: %X format: an integer is required, not str
I'm populating the Subsetter with a unicodes=[] list. That seems like pretty basic stuff, so I'm obviously not seeing what's wrong for some simple. Any clearer eyes out there?
n8willis
@n8willis
(Anyway, for anybody who stumbles across this late at night, the origin of the approach I used was this SO question, specifically mark2mark's answer: https://stackoverflow.com/questions/55009981/how-to-use-pyftsubset-of-fonttools-inside-of-the-python-environment-not-from-th )
passing a list of glyphs works as expected, but it seems like something different is necessary for the populate to get unicodes
anthrotype
@anthrotype:matrix.org
[m]
unicodes parameter wants a list of integers
instead of passing subset.populate(unicodes=["U+0041", "U+0042", ...]), you should pass instead the decimal integer value for those hexadecimal unicode codepoints
just strip the leading "U+" and pass the rest to int(..., 16)
hexadecimal is base 16 ;)
Cosimo Lupo
@anthrotype
something like subset.populate(unicodes=[int(u.lstrip("U+", 16) for u in ["U+0041", "U+0042", ...]])