Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9225085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:29:26+00:00 2026-06-18T04:29:26+00:00

I am looking for a way to get vector form (points and curves) from

  • 0

I am looking for a way to get vector form (points and curves) from characters, similar to what is described in this SO question but in Python instead of java. Anyone knows of a way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:29:28+00:00Added an answer on June 18, 2026 at 4:29 am

    UPDATE

    I just found-out a rather complete Python wrapper for the FreeType library:

    • docs: https://freetype-py.readthedocs.io/en/latest/
    • repo: https://github.com/rougier/freetype-py/

    It is ctypes based, and pretty low level – but the examples bundled
    show clearly how it can be used including ways to get
    glyphs geometry described in lines and arcs and so on.
    FreeType itself can deal with any
    font file format you need.

    original answer

    I don know if people on the Java question actually got what they wanted – but this is something definetly non-trivial.

    It may be possible that in Java as the font-rendering engine itself runs as a Java object inside the JVM. That is not the philosophy of Python – were low level things like renderign to screen is performed in native code, not by Python objects inside the interpreter VM.

    So, while in Java one could hook up to the classes doing the actual renderign of characters and extract data from them, in Python this is separated from your actual code by several layers of code.

    That difference explained, there is not y enough information on your question to give you any meaningful answer: What kind of font files?? There are tens of types! 🙂

    In what context will you use this font-path information? I mean – which libraries will you use to render the graphics – or maybe you are just dumping the data to a readable file?
    That is relevant because depending on the library you intend to use to render the graphics there may be ways of accessing character information by using that library eco-system (say Qt, Cairo, pango, windows native, pygame, and so on)

    That said, there is at least one font file format from which it would be fairly easy to get the information you want: SVG fonts wherein the points and curves will be represented as XML data.

    Also, another thing for you to look is the fontforge project – it can deal with fonts – several formats – and it is scriptable in Python. But that is just about what I know. (http://fontforge.org)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a way to get right-clicked row index from NSTableView but I
I'm looking for a way to get from the GPS it's longitude and latitude
As a continuation of this question I am now looking for a way to
Looking for a way to get path of file (and then process it in
Looking for a way to get the seconds until @post.created_at date time with timezone.
Am looking for a way to get image of the first page in pdf
I'm looking for a way to get the values of params being set, whether
I'm looking for a way to get notified in my unix system for new
I'm looking for a way to get and set those oddball chunks in a
I'm looking for a way to get the content of my div in my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.