No BSD License  

Highlights from
enum facenames of the fonts installed on the window(API) os

1.0

1.0 | 2 ratings Rate this file 5 Downloads (last 30 days) File Size: 2.91 KB File ID: #9555

enum facenames of the fonts installed on the window(API) os

by Darnshong chen

 

08 Jan 2006 (Updated 09 Jan 2006)

matlab mex file to enum the system font(window)

| Watch this File

File Information
Description

//matlab mex file to enum the system font(window)
//compile to use >>mex eunmfont.c user32.lib gdi32.lib
//usage: >>a=enumfont();
// >>a
// designed by darnshong chenzushang@sina.com http://darnshong.52blog.net
//2005,12,24

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
09 Jan 2006 urs (us) schwarz

why not simply use ML's own LISTFONTS?
fn=listfonts;
will return all available fonts in the cell array fn.
us

09 Jan 2006 John D'Errico

LISTFONTS already works perfectly well even on my mac, without any need to compile code.

09 Jan 2006 Mike Zander

To much work when something so simple already does the job.

09 Jan 2006 darnshong darnshong

"enumfont" and "listfonts" are not all the same.
"enumfont" can enum the fontnames using the local language,like me here,Chinese,while "listfonts" list all the fontnames using English.And the results of "enumfont" are more than the ones of "listfonts".

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
strings Darnshong chen 22 Oct 2008 08:11:53
ttf Darnshong chen 22 Oct 2008 08:11:53
font facename Darnshong chen 22 Oct 2008 08:11:53
window Darnshong chen 22 Oct 2008 08:11:53
api Darnshong chen 22 Oct 2008 08:11:53

Contact us at files@mathworks.com