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

  • Home
  • SEARCH
  • 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 552961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:33:18+00:00 2026-05-13T11:33:18+00:00

My question relates to the underlying rendering mechanism. Does it use Windows APIs e.g.

  • 0

My question relates to the underlying rendering mechanism. Does it use Windows APIs e.g. drawtext, exttextout or does it use a proprietary drawing mechanism? Is this documented anywhere?

More specifically

java.awt.Graphics.drawString
java.awt.Graphics2D.drawString

Under Sun JDK for windows

  • 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-05-13T11:33:18+00:00Added an answer on May 13, 2026 at 11:33 am

    Actually, I’ve researched this when developping a PDF library.

    Java, more specifically an implementation of Java, since it’s not part of the public java-API, has libraries for parsing font-files and returning so-called “glyphs”. These glyphs are then rendered using Graphics.

    (Edit: glyphs are vectorgraphical (i.e. java.awt.Shapes) components that make readible symbols (Latin charset for instance, but also Hebrew or Arabic).)

    To answer your question: it does not use Windows APIs such as drawtext. It may use Windows APIs to get font glyphs (depends on implementation of Java). As far as I know, Sun Java have closed-source font libraries which give you the glyphs.

    You can, though, use glyphs provided by the libraries of any implementation of Java:

    createGlyphVector(FontRenderContext frc, String str)
    

    in java.awt.Font.

    That should be a nice jumpstart. If you’d need anything: the rest is quite nicely documentated in the JavaDocs, i.e. http://java.sun.com/j2se/1.4.2/docs/api/java/awt/font/GlyphVector.html

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

Sidebar

Related Questions

This question relates to an ASP.NET website, originally developed in VS 2005 and now
This question relates to this question which I asked earlier this week. The answer
This question relates to those parts of the KenKen Latin Square puzzles which ask
Background: This question relates to versions of Delphi below 2009 (ie without Unicode support
This relates to my other question on accessing a REST service that uses forms
This is kind of a two part question. But it both relates to the
I know this is not a real programming question. But, it relates to programming
My question relates to this question asked earlier. In situations where I am using
This question relates to Django Aggregation/Annotation in 1.1. Suppose I have a simple model
This question relates to ASP.NET MVC 2 RC (December drop). The basic problem is

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.