fonts

Set Emacs defaut font face per-buffer/mode

How do you change the default face which Emacs uses to style text on a per-mode basis? For example, say that I am already happy with the face customizations that I have, which include a default fixed-width font. However, in one particular mode (markdown-mode.el, say), I want the default font to be variable-width. It is easy to style he...

Where to get Free Fonts

I am developing a website for a friend and require a certain font. He already has business cards printed using Avant Garde Bold so I need to get hold of it to use for the headings. Does anyone know where I can get this and other fonts for free? ...

How to: Font smoothing test

The real question is this: I am trying to figure out the effect of font smoothing in my web page. On my LCD panel the text looks the same with font smoothing on/off. Are there are any particular fonts that need smoothing. Can you suggest any example font best suited for font-smoothing (i.e. it gives good result on applying smoothing)....

Estimate pixels of proportional font in SVG or Java

Is there an way to estimate the number of pixels used by a proportional font? I am writing software that creates an image in SVG and transform that to PNG in Java. In this image I am using a text with a proportional font (size 16). I can sometimes fit 26 characters in the picture and sometimes only 19. This is because 'WWW' takes much m...

sIFR custom font method doesn't appear to work in linux?

In response to a question about custom fonts, I came across a link to a method using javascript/flash/css which is accessible. However, in my browser (Firefox 3/flash 10/Debian) it doesn't work. The website advertises that it works in Linux. Do any other Linux users have this issue? Here's the link: http://www.mikeindustries.com/blog/fi...

How can I have a green font in *NIX's gvim?

I have noted that I cannot affect MacVim's colorscheme by commands in vimrc. I have now a gray font on black background, which makes reading hard. ...

Custom .ttf fonts to use in C# windows.Form

How do I use a custom .tff font file I have with my current windows.forms application? I read some where that I use it as an embedded resource, but how do I set it the System.Drawing.Font type? ...

Load fonts from file on a C# application

I wish to load and use a font to a desktop application in C#. It's that possible without installing the font on the system? It's a kind of question like this but not from a DLL. I want to load from font file. ...

Sending fax with .NET

I'm trying to send faxes with a .NET (C#) program using Crystal Reports and Unimessage Pro (or any other fax program). My problem is that Unimessage Pro (and other fax programs) uses printer fonts for the fax commands. Since .NET doesn't support printer fonts the fax commands in the report are converted to Courier New. The result of thi...

Why is a font in .NET of size 8 displayed as 8.25?

When you select, for example, a Size of 8 in a Font Dialog for Microsoft Sans Serif, it returns a font that .NET displays as having a size 8.25? Why is this exactly? ...

How can I set one style to override another conflicting style in CSS?

I'm displaying links that get marked as read in a database when a user clicks them. I want to style the clicked and unclicked links based on the database information not the user's browser history. So far, when I use: 10 a:visited { 11 color: #444; 12 } 13 14 a:link { 15 font-weight: bold; 16 color:black; 17 } 18 19 .rea...

How to load Font from file on a RDLC report?

In Visual Studio 2005, how can I load a font from a file and use it on a RDLC report? I know how to load a font from a file thanks to this question, but i'm not able to use it in a RDLC report. ...

How to quickly and easily embed fonts in winforms app in C#

This is probably noob territory but what the heck: I want to embed fonts in my winforms application so that I don't have to worry about them being installed on the machine. I've searched a bit on the MSDN site and found a few hints about using native Windows API calls, for instance Michael Caplans (sp?) tutorial linked to by Scott Hanse...

writing arabic text in opengl

I want to write arabic text in my opengl program using freetype 2 how I can do it any one can send me asource code or show me the way or even any modification on nehe lesson 43 to write arabic in opengl which explain using freetype to display the arabic text ...

@font-face declaration in css doesn't work

I'm helping my sister convert a website that somebody did for her in flash into html. They use fancy fonts in the flash that I am trying to define in a css file through @font-face. I tried opening the page in firefox, IE and chrome, but nowhere do I see the proper font. The declaration that I am using is: @font-face { font-family: ...

In Cygwin how do I change the font color?

I want to start using Cygwin, but I am not pleased with the font color and would like to change it to light green with a black background. (I tried googling to no avail BTW) ...

php and true type collection in gd

I try to use a true type collection "gulim.ttc" with 4 fonts in the GD libary. Like this: $font = "fonts/gulim.ttc"; imagettftext($im, 20, 0, 0, 25, $white, $font, $string); The Problem is, PHP/GD only uses the first font from the ttc-file but I need the third one called "Dotum". Or, is there a way to extract or convert the ttc-file...

Netbeans Forwarded over X11 Font Problem

I'm trying to forward my IDE, Netbeans, over ssh to the Xming server on my Windows Desktop. I'm able to get Netbeans to launch and run, but the fonts look terrible because they aren't being anti-aliased. I've uploaded a screenshot here. If I launch Netbeans from Gnome on the linux box itself, the fonts look fine, so it must be a probl...

Why does Consolas in Visual Studio look bold?

I have tried installing the Consolas font pack so that I can use it with VS 2005. For some reason it looks a lot bolder than Wikipedia's and Jeff Atwood's examples. I read something about anti-aliasing and I am trying that now. Any ideas on how to get it too look thin and sleak? EDIT: Sorry found out. It has something to do with ClearTy...

How can I easily change to native fonts in Smalltalk Squeak/Pharo

With every new Squeak image, I immediately change the fonts to some native version. It is a lot of mouseclicks and I want to script the proces. ...