Sign in to follow this  

C#: Extracting font glyphs and kerning info

This topic is 2846 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In an attempt to learn C#, I'm dipping into XNA and starting with a custom bitmap font renderer (yes, I know there's about a thousand of these already out there). The first step is trying to get the individual glyphs renderer out to an image, along with the layout metadata. I've been trying to write this as an XNA content pipeline extension with the System.Windows.Media API, in particular the GlyphTypeface and GlyphRun classes. Unfortunately documentation of these is really sparse, and about the only useful information I can find is this blog post. However this doesn't do any kerning, and I can't find anything in the API that actually exposes this. Can anyone point me to a way to get glyph kerning info in C#? Thanks.

Share this post


Link to post
Share on other sites

This topic is 2846 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this