* frame.h (struct frame): Drop resx and resy because the same data is
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 20 Mar 2013 09:56:19 +0000 (13:56 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 20 Mar 2013 09:56:19 +0000 (13:56 +0400)
commit42143acda9a3993f383cf1c9688831cba8200d10
tree0bb5855507dcf8b8d1741bee75117f0fa14ec450
parent47077837aff40030430e3d1d0522fee5db62ee1e
* frame.h (struct frame): Drop resx and resy because the same data is
available from window system-specific output context.  Adjust users.
(default_pixesls_per_inch_x, default_pixesls_per_inch_y): New
functions to provide defaults when no window system available.
(FRAME_RES_X, FRAME_RES_Y): New macros.
(NUMVAL): Moved from xdisp.c.
* font.c (font_pixel_size, font_find_for_lface, font_open_for_lface)
(Ffont_face_attributes, Fopen_font):
* image.c (gs_load):
* w32font.c (fill_in_logfont):
* xdisp.c (calc_pixel_width_or_height):
* xfaces.c (Fx_family_fonts, set_lface_from_font): Use them.
* xsettings.c (apply_xft_settings): Drop frame loop and adjust comment.
src/ChangeLog
src/font.c
src/frame.h
src/image.c
src/nsfns.m
src/w32fns.c
src/w32font.c
src/xdisp.c
src/xfaces.c
src/xfns.c
src/xsettings.c