linXiv frontend (TS/JS)
    Preparing search index...

    Function whenLabelFontReady

    • Cytoscape caches label measurements on the RENDERER, keyed by text plus font style and not by whether the family had arrived. Inter is a self-hosted webfont, so on a cold load every label can be measured in the fallback face and keep that width all session: tag chips (width: 'label') size wrong and text-max-width ellipsizes at the wrong point. Reinstalling the stylesheet later does NOT help — have the face in hand before the first render.

      Returns Promise<void>