font resolution

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

bigfatbob

font resolution

Postby bigfatbob » Wed Feb 05, 2003 1:19 pm

How can i get those information with php.
- windows system font size (large font, small font ...).
- windows resolution (800*600, 1024*768 ...)

Maybe php W32api ?
Or maybe a way to specify how i want to display my html pages.

:?: 8O :? 8) :lol: :D :) :( :o

Hurkle
New php-forum User
New php-forum User
Posts: 36
Joined: Tue Jan 07, 2003 8:45 am
Location: Minnesota, USA

Postby Hurkle » Thu Feb 06, 2003 3:19 pm

Are you trying to get the font size and screen resolution for the client machine? Other than through client side javascript, I don't know any way to retrieve that stuff using pure php. There might very well be a way to do it, but I haven't found it yet.

If you want total control over how stuff is displayed, css commands (cascading style sheets) can give you very explicit control, including the exact font face and size (you can even state the size in pixels).

Hope this helps get you started, if you come up with more detail about what you want to do and how, let me know.


Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron