TrueType font geometry

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
User avatar
andrew
Site Admin
Posts: 9064
Joined: Fri Mar 30, 2007 6:07 am

TrueType font geometry

Post by andrew » Fri Sep 03, 2021 7:38 pm

From a QCAD user:
How can I convert TrueType text into its geometry or coordinates for example for further processing?

User avatar
andrew
Site Admin
Posts: 9064
Joined: Fri Mar 30, 2007 6:07 am

Re: TrueType font geometry

Post by andrew » Fri Sep 03, 2021 9:51 pm

QCAD supports TrueType fonts natively. You can use any system-wide installed font to create texts in QCAD.

One way to extract the geometry of the glyphs of text is to explode the text entity using Modify > Explode. By default, this creates polylines for the outline of the text. Depending on the format of the text, you might have to explode twice to go from a formatted text to simple text blocks and then polylines.

This example shows a text entity at the top and the exploded polylines at the bottom:
Screenshot 2021-09-03 at 22.48.18.png
Screenshot 2021-09-03 at 22.48.18.png (55.14 KiB) Viewed 1834 times
These polylines are often more suitable for further processing (further modifications or CAM) than text.

Post Reply

Return to “QCAD 'How Do I' Questions”