Code Monkey home page Code Monkey logo

Comments (1)

georgd avatar georgd commented on July 21, 2024

The situation as I see it:

  1. pdfLaTeX puts the dot under without resorting to font internal information, instead calculating (quite well) where best to place it.
  2. Xe/LuaLaTex seem to use Unicode and font features to set the dot, where encodings exist (?)
  3. Glyphs with descenders (g, j, p, q, J, Q) in EBG don’t have a below anchor set (yet), so the font doesn’t define where to place the dot below. Its placement to the right is therefore somehow expected although not desired.
  4. There’s an encoded y with dot below which is explicitly designed as you see it. You can consider this “the artist‘s choice” ;). Probably not ideal in mathematics vel sim.
  5. In \d{\textsc{a}} it seems that neither font logic nor LaTeX magic is applied. Otherwise, either all (LaTeX magic) or at least \d{\textsc{c}} would show correct placement (c.sc has a well placed anchor for dot below).
  6. \textsc{\d{a}} fails where there’s either an encoded \d{x} glyph because no smallcaps rule for those exists (yet) in the font or where no anchor for dot below is defined (as in f.sc).

TODOs

  • define anchors for below accents for glyphs with descender.
  • add lookups for xbelowdot in smcp feature.
  • what to do with y+belowdot?
  • Why does no. 5 fail? (Ask LaTeX gurus)

from eb-garamond.

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.