I am trying to render PDF content to a GDI device context (a 24bit bitmap to be exact). Parsing the PDF stream into PDF objects and rendering the PDF commands from the content dictionary works well, including font rendering.
Embedded fonts are decompressed from their FontFile streams and "loaded" using AddFontMemResourceEx. Now some em...
Hi,
I want to read a ttf and draw a text with that font on a buffer. Even though there are libraries such as freetype, gd to do this task, I want to write my own code. Can you advice me on how to accomplish this task?
...
I have an app that displays true type fonts. I need to combine two characters some times (e.g. Hindi), that may overlap. I need an algorithm to detect when two font outlines overlap, and merge the two outlines into one.
...
I have downloaded a font, [Betsy Flanagan][1], that I'd like to use in my program that shows on-screen keyboard shortcuts and their meaning in various programs.
However, when selecting the font in Visual Studio 2010 for a label, I get an error message that says "Only TrueType fonts are supported. This is not a TrueType font."
Is there ...
I have a TImage component that I print a Text string to using TCanvas.TextOut(). I set the height and width of the TImage to a large size like 50 pixels X (TextWidth) pixels, and set the Canvas font Height to something a little smaller like 48 pixels. I then BitBlt() the TImage's bitmap on to the main Canvas. What I see on the screen ...