fonts

Embedding and Displaying chinese/japanese

Hi all, I have been working on a subtitles engine for flash/flv video player. On my Mac everything is great, nice aliased glyphs, displaying all the characters, etc. Switch to windows, it all goes out the window. Some machines with Eastern Characters enabled display fine, but I can't guarantee all users will have this option selected. ...

Which characters to choose when "drawing" a box on Windows console?

I'm trying to port a curses program to Windows. Now one of the problems is that the default ACS_XXXX characters become double-width on Windows console, thus breaking the alignment. I tried looking for other characters to do the job, like '-' or '|' in basic ASCII, but none of them looks good because the line is not continuous. And findi...

OpenGL texutre mapped font rendering

I'm implementing a simple font renderer in OpenGL and have a few questions regarding that It basically loads an image with characters on them into an OpenGL texture Is it better to have one big texture with all characters on it, or can I have one texture per character as well? Using the big texture, I can't seem to figure out how to c...

Web style fonts in Photoshop

I design web templates in Pho]sions are different. Is there a plugin or a ...

Google webFont API browser compatibility

I was going through this: http://code.google.com/apis/webfonts/ (Which BTW I think is fantastic) And was wondering how compatible its is with older browsers? And specially with good ol´ IE 6... Thank you very much! ...

Postscript font to EOT

Hi, I have a postscript font in my local language. Now to avoid errors in webpages i need them converted to EOT. How should i do this? ...

Font smoothing using cairo

I am trying to smooth text rendering using anti-aliasing. But it's not anti-aliased. See the picture http://tinypic.com/r/2h7dy1i/4 First line is a png image created using pango and cairo. Second line is just an html <span> tag. It's in firefox, Ubuntu with Gnome DE. The difference can be better understood if you compare "W" and "v" ...

Platform independent way to get font directory?

Is there a way I could find where fonts are stored on either Windows, OSX, or Linux? If not, is there a way I can guarantee certain paths (such as X:/Windows/Fonts/) for all 3 platforms? What ifdefs would I use for these? Thanks ...

Generate TTF via image(s) using PHP?

Are there existing libraries for generating .ttf via image(s) using PHP (say, a series of images)? There are several references about creating gdf from images, but I've not yet found examples of ttf-font creation via PHP. N.B. There are also several online resources that let you upload an image (write a letter in each box on an image te...

How can I set a default font (Inconsolata) in my .emacs.el in Ubuntu?

I tried following the advice gathered from Google searches but I am not able to get it to work. My ~/.emacs.el file contains the following: ;; Set color scheme (require 'color-theme) (load-file "/home/manoj/Dropbox/conf/themes/color-theme-chocolate-rain.el") (color-theme-chocolate-rain) ;; Set font ;; (set-default-font "-unknown-Incons...

CSS: font-weight doesn't work.

Hi, I have this line in my code <label style="font-weight: bold" for="sedii18n_codice_paese_indirizzo">Codice paese indirizzo</label> but the label is showed normal. If i go to the Chrome Inspector I can see this: font-weight: normal !important; If i change font-weight in the inspector the weight of the font is modified norma...

C# apply Color to Font

I have code like this. System.Drawing.Color col = System.Drawing.ColorTranslator.FromHtml("#101B83"); System.Drawing.Font nameFont = new System.Drawing.Font("Tahoma", 10); System.Drawing.Font birthdayFont = new System.Drawing.Font("Tahoma", 6); System.Drawing.SolidBrush drawBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Blac...

C# console font

Hi, I cannot find out which font the console app uses by default? Is it guaranteed that everyone has that font (when running this .NET app)? Want to display some unicode chars and need to be sure they are present within that font. Thanks ...

Best way to display barcodes from NSString

Hi All, Just wondering what is the best way to display a barcode given a string on the iPhone. I have looked over stackoverflow and google and a few people have different ways each requiring a decent amount of work (I think) and also slightly old so I wanted to get it right first time. One way I've read is using a custom font that you ...

How does @font-face work?

I am aware that using @font-face allows the browser to download a custom font and use it in a web page just like any system font. What I want to know is if the browser encodes the font or uses it without exposing it? Thanks ...

Latex Beamer: How is it possible to make piece of text in a frame in italics?

I am using Beamer in order to make a presentation. In one of the frames I want to write something like this: "Italics is like that" I used a command \it of Beamer for doing this: \it{Italics} is like that But as a result I get: "Italics is like that" Is it possible to make italics only a piece of text? ...

Emacs: GUI with emacs --daemon not loading fonts correctly

Hello, I set up an emacs --daemon in order to startup emacs faster. I like especially the GUI version of emacs, so I do emacsclient -c to open a new emacs frame. The problem is that I have changed my fonts, but these fonts aren't loaded if I start emacsclient -c. However, they are applied if I start just emacs (but this causes the who...

Manipulate the shape of each character in a string using Java graphics

Hi I've figured out how to get the shape of a text string before drawing it on this screen in Java, for example by using the TextLayout class [1]. However I could only find a way to get the Shape of the whole text. I need a Shape for each character in the text. Does anybody know an elegant way of how to obtain the Shape per character? ...

Jasper stops finding one font

After upgrading Jasper to the last version, it stopped finding one font: Symbol. The rest of the fonts seem to be fine. I have a bunch of ttfs in the same directory as where jasper is run, the program is just a small wrapper to generate PDFs, and it's throwing this error: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'S...

What´s is this hands font?

I wanna knw what´s is this hands font https://signup.37signals.com/images/products/basecamp/thanks.png thanks ...