Git Product home page Git Product logo

Comments (10)

PeterCon avatar PeterCon commented on June 19, 2024

from amstelvar.

davelab6 avatar davelab6 commented on June 19, 2024

Here's the ttx dump of the current fvar table:

<?xml version="1.0" encoding="UTF-8"?>
<ttFont ttLibVersion="3.0">

  <fvar>

    <!-- Contrast -->
    <Axis>
      <AxisTag>cntr</AxisTag>
      <MinValue>8.0</MinValue>
      <DefaultValue>100.0</DefaultValue>
      <MaxValue>170.0</MaxValue>
      <NameID>256</NameID>
    </Axis>

    <!-- Grade -->
    <Axis>
      <AxisTag>grad</AxisTag>
      <MinValue>50.0</MinValue>
      <DefaultValue>176.0</DefaultValue>
      <MaxValue>500.0</MaxValue>
      <NameID>257</NameID>
    </Axis>

    <!-- Optical Size -->
    <Axis>
      <AxisTag>opsz</AxisTag>
      <MinValue>10.0</MinValue>
      <DefaultValue>14.0</DefaultValue>
      <MaxValue>72.0</MaxValue>
      <NameID>258</NameID>
    </Axis>

    <!-- ParaWidth -->
    <Axis>
      <AxisTag>prwd</AxisTag>
      <MinValue>84.0</MinValue>
      <DefaultValue>804.0</DefaultValue>
      <MaxValue>804.0</MaxValue>
      <NameID>259</NameID>
    </Axis>

    <!-- ParaWeight -->
    <Axis>
      <AxisTag>prwg</AxisTag>
      <MinValue>10.0</MinValue>
      <DefaultValue>176.0</DefaultValue>
      <MaxValue>1000.0</MaxValue>
      <NameID>260</NameID>
    </Axis>

    <!-- Serif Rise -->
    <Axis>
      <AxisTag>srfr</AxisTag>
      <MinValue>0.0</MinValue>
      <DefaultValue>35.0</DefaultValue>
      <MaxValue>95.0</MaxValue>
      <NameID>261</NameID>
    </Axis>

    <!-- Width -->
    <Axis>
      <AxisTag>wdth</AxisTag>
      <MinValue>120.0</MinValue>
      <DefaultValue>804.0</DefaultValue>
      <MaxValue>804.0</MaxValue>
      <NameID>262</NameID>
    </Axis>

    <!-- Weight -->
    <Axis>
      <AxisTag>wght</AxisTag>
      <MinValue>75.0</MinValue>
      <DefaultValue>176.0</DefaultValue>
      <MaxValue>500.0</MaxValue>
      <NameID>263</NameID>
    </Axis>

    <!-- xHeight -->
    <Axis>
      <AxisTag>xhgt</AxisTag>
      <MinValue>890.0</MinValue>
      <DefaultValue>1000.0</DefaultValue>
      <MaxValue>1200.0</MaxValue>
      <NameID>264</NameID>
    </Axis>
  </fvar>

</ttFont>

from amstelvar.

PeterCon avatar PeterCon commented on June 19, 2024

These changes would make the tags conform to the spec:
"cntr" -> "CNTR"
"grad" -> "GRAD"
"prwd" -> "PRWD"
"prwg" -> "PRWG"
"srfr" -> "SRFR"
"xhgt" -> "XHGT"

Wrt xHeight, could you envisage that becoming a registered axis in the future? (It's an axis I've seen used as an example more than once.) If so, any thoughts on a scale for that axis that would make sense across any fonts using the axis? (E.g., per-mille of em height?) If so, you might use that for your XHGT scale. (Same would be true for other custom axis scales, but I call that out just because I've seen x-height called out so often as a example.)

from amstelvar.

dberlow avatar dberlow commented on June 19, 2024

from amstelvar.

asaumierdemers avatar asaumierdemers commented on June 19, 2024

Fixed with commit a879f3f

from amstelvar.

dberlow avatar dberlow commented on June 19, 2024

Excellent, thanks.

I would rather "AmstelvarAlpha-VF-2017-01-23" not cause any confusion and be in an old fonts folder or something, so just "AmstelvarAlpha-VF" is there?

from amstelvar.

davelab6 avatar davelab6 commented on June 19, 2024

I would rather "AmstelvarAlpha-VF-2017-01-23" not cause any confusion and be in an old fonts folder or something, so just "AmstelvarAlpha-VF" is there?

I'll take care of this with git tags

from amstelvar.

dberlow avatar dberlow commented on June 19, 2024

from amstelvar.

davelab6 avatar davelab6 commented on June 19, 2024

https://github.com/TypeNetwork/fb-Amstelvar/releases

#21

from amstelvar.

PeterCon avatar PeterCon commented on June 19, 2024

Thanks! :-)

from amstelvar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.