getting fonts installed on client machine
-
hey guys..im developing a simple online editor..i need to know the fonts on the client's machine?
List<string> LobjFontList = new List<string>();
InstalledFontCollection LobjFonts = new InstalledFontCollection();
foreach (FontFamily LobjFamily in LobjFonts.Families)
{
LobjFontList.Add(LobjFamily.Name);
} -
List<string> LobjFontList = new List<string>();
InstalledFontCollection LobjFonts = new InstalledFontCollection();
foreach (FontFamily LobjFamily in LobjFonts.Families)
{
LobjFontList.Add(LobjFamily.Name);
}Thank you Manas :)
-
List<string> LobjFontList = new List<string>();
InstalledFontCollection LobjFonts = new InstalledFontCollection();
foreach (FontFamily LobjFamily in LobjFonts.Families)
{
LobjFontList.Add(LobjFamily.Name);
} -
Hmmm, doesn't this lists the fonts installed on the server? How is this going to work with the fonts on the client side?
Yusuf
Oops!!! My mistake :^)
-
hey guys..im developing a simple online editor..i need to know the fonts on the client's machine?
-
Oops!!! My mistake :^)
-
I am not sure if you can get the fonts installed on the client machine. You can embed known fonts with your editor and let the user select only from your fonts though.
Yusuf
sounds good yusuf..can you guide me through getting these known fonts?
-
sounds good yusuf..can you guide me through getting these known fonts?
-
hey guys..im developing a simple online editor..i need to know the fonts on the client's machine?
Hi, You could write a javascript for the client-side which checks for a selection of common fonts, and then postback an array of boolean values to the server indicating which of those fonts were found. It is probably best to stick to web-safe fonts. Hope this is of use! Lea Hayes
-
hey guys..im developing a simple online editor..i need to know the fonts on the client's machine?
Thank you all :)