$ | >

Give API to measure the space that a string occupies

Created to raise support for Console issue #218 that itself is an extension of issue #57
From the issue OP: "Under a certain console/PTY, assume the font family/size is specified, give a string, and return the space (a bit mask of the character matrix?) it would occupy."

Closest implementation is wcwidth and wcswidth as mentioned in Issue on Linux. This API is required for anything involving zero width joiners, as are any scripts involving more complicated rules, or RTL scripts.

1 vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    WSLUser shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base