I'm trying to use the MusiSync font to embed a sharp and flat symbol in a line of text. In order to keep these symbols from being tiny I have to make their point size twice the size of the rest of the text. Unfortunately, this messes up the line height in Internet Explorer and I cannot find a way to control it. You can download the MusiS...
Does anyone know of a c++ library for taking an image and performing image recognition on it such that it can find letters based on a given font and/or font height? Even one that doesn't let you select a font would be nice (eg: readLetters(Image image).
...
I need to embed the fonts that I'm using in my TeX document in my output PDF. I'm using pdflatex for TeX processing, and TextMate as my editor.
I can't find any reference on how to embed the fonts I need in the PDF document.
...
I need to batch create images with text. Requirements:
arbitrary size of bitmap
PNG format
transparent background
black text anti-aliased against transparency
adjustable character spacing
adjustable text position (x and y coordinates where text begins)
TrueType and/or Type1 support
Unix command line tool or Python library
So far I've...
I want to have a greater control on how and when fonts are loaded and released, therefore I'm interested in getting CGFontCreateWithFontName() to work.
GContextRef ctx = UIGraphicsGetCurrentContext();
CGContextSelectFont(ctx, "Georgia", 20.0, kCGEncodingMacRoman);
// DRAWING WITH CGContextShowTextAtPoint() IS WORKING...
GContextRef ...
Hello,
I did my first Silverlight 2 application and what annoys be is that text-fonts looks blurry or ragged.
You can see it here:
Is that a 'feature' of SL or I'm doing something wrong?
I know that SL2 uses a few fancy techniques to make applications device-independed but this fonts aren't acceptable (i'm using Vista with Aero )....
What's your preferred programming font?
There's an existing question like this. However, there are over 100 answers, most of which are just, "+1 MyFontOfChoice, blah, blah, blah". No offense to others involved in that post, but I was hoping we could get a more organized set of responses.
Rules
ONE post per font. If there is alread...
I've been reading about the @font-face rule and trying to work out if it's worth using it in a project to render "franklin gothic medium" for title instead of something like sIfr. I figured that for browsers that don't support it I could make it fall back on Arial.
The thing is that I'm having trouble getting a definitive answer about w...
To start off with, a little context for the question...
I have a C# .NET 2.0 program that generates web pages... I am looking for a control that allows the user to pick web friendly fonts for use in generating the web page to run on as many computer as possible. I'm currently useing the MS font dialog, but I have not found a way to fi...
Does anyone have any tutorials/info for creating and rendering fonts in native directx 9 that doesn't use GDI? (eg doesn't use ID3DXFont).
I'm reading that this isn't the best solution (due to accessing GDI) but what is the 'right' way to render fonts in dx?
...
In the interest of making my emacs setup more portable, I'd like to be able to set the current font by specifying a file rather than a font name, i.e. "Load ~/config/myfont.ttf and use size 12". Is there a way to do that in my .emacs? All the instructions I've found assume the font is already installed on the system. I'm using the XFT su...
Javahelp is the Java based help system that can easily be integrated in a Java application. The documentation does not give any information about it. On the web, many people state that it is not possible, that the help browser always uses a built-in font. I am not convinced that it is not possible.
The help system of the IntelliJ IDE is...
Trying to write UTF-8 text to an image without any luck. I've spent
several hours reading docs and googling.
/usr/bin/xlsfonts shows:
...
-adobe-helvetica-medium-r-normal--10-100-75-75-p-56-iso10646-1
-adobe-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1
...
(BTW, this seems like an excellent page for these fonts:
http://www.cl...
You can obtain the width of a string in the current font with stringwidth and although this actually pushes offset coordinates on the stack, the y-value always seems to be useless. Is there a way to determine the exact height of a string, that may or may not include descenders?
...
What's the best way to size text across browsers?
What are the advantages and disadvantages of defining font size in pixels / em?
...
When creating web pages how do we achieve a consistent font size across browsers. I have used something like "font-size: 11pt; font-family: Helvetica,'Lucida Grande'" in my CSS, but the text looks different in Firefox, IE, Google Chrome and Safari (and this is not even on different platforms). Basically on the same machine, that is runni...
Hello everyone,
I'm trying to render a bit of text using Core Graphics APIs and I'm running into some conceptual difficulties.
I'm trying to specify font size using CGContextSetFontSize. The size parameter is in something called "text space units". What is that? How does it map to "em" units?
Thanks
...
I am using Gdi+ on the server-side to create an image which is streamed to the user's browser. None of the standard fonts fit my requirements and so I want to load a TrueType font and use this font for drawing my strings to the graphics object:
using (var backgroundImage = new Bitmap(backgroundPath))
using (var avatarImage = new...
I've the coordinates of the letters (e.g. using SVG). How could I generate a TrueType/PostScript font for my computer ?
(edited : changed vectorial to TrueType/PostScript )
...
I just read secretGeek's fun post on 8 ways to be a better programmer in 6 minutes and really liked the tip on making hard-coded strings look ugly.
When I tried to change the Fonts and Colors setting to do this in my copy of Visual Studio 2008 Professional, I found that the String (C# @ Verbatim) option was not in the Display items list...