aboutsummaryrefslogtreecommitdiffstats
path: root/src/font.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* (font_put_extra): If VAL is nil, delete the slot for PROPKenichi Handa2009-04-091-1/+12
| | | | | from the list of extra properties. (font_clear_prop): Be sure to delete `:name' font property.
* (find_font_encoding): Return Qnil for unsupported encoding.Kenichi Handa2009-03-241-2/+1
|
* (font_open_by_spec): New function.Kenichi Handa2009-03-111-9/+23
| | | | (font_open_by_name): Use font_open_by_spec.
* (font_select_entity): New function.Kenichi Handa2009-03-051-63/+75
| | | | (font_find_for_lface): Use font_select_entity to select a font.
* (font_style_to_value): Set value for unknown symbols toChong Yidong2009-02-271-5/+5
| | | | | | 100 instead of 255. (weight_table, slant_table, width_table): Treat "unspecified" as the default value.
* (Qfont_spec, Qfont_entity, Qfont_object): DefinitionsChong Yidong2009-02-211-6/+0
| | | | moved to data.c.
* (Ffont_spec): Fix typo.Kenichi Handa2009-02-181-1/+1
|
* (font_check_otf_features): Fix handling of `nil' element.Kenichi Handa2009-02-181-3/+30
| | | | (Ffont_spec): Describe :lang and :otf in the docstring.
* Remove spurious semicolons.Juanma Barranquero2009-02-111-1/+1
|
* (Ffont_spec): Docstring modified.Kenichi Handa2009-02-051-1/+2
|
* (font_parse_xlfd): Handle patterns of length < 2.Chong Yidong2009-01-241-2/+2
|
* (font_spec_from_name): Return Qnil if font name could not be parsed.Chong Yidong2009-01-191-5/+11
| | | | (font_parse_name): Treat a `?' character as part of an XLFD.
* (Ffont_variation_glyphs): Silence compiler.Glenn Morris2009-01-161-1/+3
|
* (font_clear_prop): If clearing the family, clear the font width indexChong Yidong2009-01-131-1/+7
| | | | too.
* (Ffont_family_list): Return a list of strings, not symbols.Chong Yidong2009-01-091-10/+5
|
* (font_open_for_lface): Handle unspecified height attribute.Chong Yidong2009-01-081-1/+12
|
* Add 2009 to copyright years.Glenn Morris2009-01-081-2/+2
|
* (font_range): Don't require a font for a variationKenichi Handa2008-12-301-0/+44
| | | | | | selector. (Ffont_variation_glyphs): New function. (syms_of_font): Defsubr it.
* (font_intern_prop): Validate str as multibyte.Kenichi Handa2008-12-301-3/+15
|
* (font_open_entity): Fix previous change.Kenichi Handa2008-12-161-3/+5
|
* (font_update_drivers): Fix mistake in reconstructing the driver list.Chong Yidong2008-12-161-8/+8
| | | | (font_clear_cache): Fix format of font cache data.
* (free_font_driver_list): Implement missing function.Chong Yidong2008-12-131-0/+14
|
* (font_rescale_ratio): Moved from xfaces.c. ArgumentKenichi Handa2008-12-131-2/+41
| | | | | | type changed. Handle a font-spec too. (font_score): Check Vface_font_rescale_alist. (font_open_entity): Likewise.
* * font.c (Ffont_spec): Move usage to end of docstring.Juanma Barranquero2008-12-101-7/+7
|
* (font_at): Set `multibyte' at first.Kenichi Handa2008-12-031-1/+3
|
* Handle fonts with corrupted size specs, i.e. non-int and non-float.Chong Yidong2008-12-031-2/+5
|
* (Fopen_font): Compute pixel size correctly.Chong Yidong2008-12-031-1/+1
|
* (font_unparse_fcname): Fix use of uninitialized variable.Andreas Schwab2008-12-021-2/+1
|
* (register_font_driver): Use xmalloc.Andreas Schwab2008-12-011-4/+2
| | | | (font_put_frame_data): Likewise.
* (font_match_p): Fix previous change.Kenichi Handa2008-10-231-1/+1
|
* (font_match_p): Fix for the case that a vector ofKenichi Handa2008-10-231-7/+43
| | | | characters is in script-representative-chars.
* (font_add_log): Check the values of extra properties.Kenichi Handa2008-10-231-3/+6
|
* (font_clear_prop): When clearing font width, clear the average widthChong Yidong2008-10-141-1/+5
| | | | field too.
* Don't include <m17n-flt.h>.Andreas Schwab2008-10-121-3/+0
|
* (font_delete_unmatched): Fix previous change. Don'tKenichi Handa2008-10-091-0/+2
| | | | reject an entity if DPI and AVGWIDTH of an entity are 0.
* * nsfont.m (nsfont_spec_to_traits): Use UnXX masks only for non-normal ↵Adrian Robert2008-10-011-4/+2
| | | | styles. (nsfont_open): Reenable the cache.
* (font_matching_entity): Reflect ATTRS in font selection.Kenichi Handa2008-10-011-6/+18
| | | | (font_find_for_lface) [HAVE_NS]: Don't ignore case.
* (Ffont_shape_gstring): Make glyphs of non-nil adjustmentKenichi Handa2008-09-101-8/+27
| | | | compose a grapheme cluster with the preceding base glyph.
* (font_fill_lglyph_metrics): Use EMACS_INT in LGLYPH_SET_CODE to avoidEli Zaretskii2008-08-291-2/+5
| | | | compiler warnings.
* (QCf): New variable.Kenichi Handa2008-08-291-309/+129
| | | | | | | | | | | | | (check_gstring): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH. (font_prepare_composition): Delete this function. (font_range): Type and arguments changed. (Ffont_make_gstring, Ffont_fill_gstring): Delete them. (font_fill_lglyph_metrics): New function. (Ffont_shape_text): Renamed to Ffont_shape_gstring and arguments changed. (syms_of_font): DEFSYM QCf. Delete defsubr for Sfont_make_gstring, Sfont_fill_gstring, Sfont_shape_text. Defsubr Sfont_shape_gstring.
* (Vfont_log_deferred): New variable.Kenichi Handa2008-08-191-0/+35
| | | | | (font_add_log): Check Vfont_log_deferred. (font_deferred_log): New funciton.
* (font_add_log): Add the font properties :script, :lang,Kenichi Handa2008-08-181-1/+22
| | | | and :otf in the log.
* Remove support for Mac Carbon.Dan Nicolaescu2008-07-271-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mactoolbox.c: * macterm.h: * macterm.c: * macselect.c: * macmenu.c: * macgui.h: * macfns.c: * mac.c: Remove file. * s/darwin.h: * m/intel386.h: * xfaces.c: * xdisp.c: * window.c: * tparam.c: * termhooks.h: * termcap.c: * term.c: * syssignal.h: * sysselect.h: * sysdep.c: * process.c: * lread.c: * lisp.h: * keyboard.c: * image.c: * fringe.c: * frame.h: * frame.c: * fontset.c: * font.h: * font.c: * fns.c: * fileio.c: * emacs.c: * dispnew.c: * dispextern.h: * config.in: * atimer.c: * Makefile.in: Remove code for Carbon * erc.el: Remove code for Carbon. Remove support for Mac Carbon. * term/mac-win.el: Remove file * international/mule-cmds.el: * version.el: * startup.el: * simple.el: * mwheel.el: * mouse.el: * loadup.el: * isearch.el: * info.el: * frame.el: * faces.el: * disp-table.el: * cus-start.el: * cus-face.el: * cus-edit.el: * Makefile.in: Remove code for Carbon. Remove support for Mac Carbon. * makefile.w32-in: * emacsclient.c: Remove code for Carbon. * PROBLEMS: * MACHINES: Remove mentions of Mac Carbon. * ns-emacs.texi: * faq.texi: Remove mentions of Mac Carbon. * os.texi: * frames.texi: * display.texi: Remove mentions of Mac Carbon. * xresources.texi: Remove mentions of Mac Carbon. * make-tarball.txt: * admin.el: * FOR-RELEASE: * CPP-DEFINES: Remove mentions of Mac Carbon. Remove support for Mac Carbon. * mac: Remove directory. * make-dist: * configure.in: * README: * Makefile.in: * INSTALL: Remove code for Carbon. * configure: Regenerate.
* restore ability under NS to change font size from font panel (lost during ↵Adrian Robert2008-07-201-0/+15
| | | | some recent font backend refactoring)
* merging Emacs.app (NeXTstep port)Adrian Robert2008-07-151-1/+15
|
* * fontset.c (fontset_get_font_group):Stefan Monnier2008-07-091-1/+1
| | | | * font.c (font_check_otf): Specify argument types.
* (font_open_entity): Cancel the previous change.Kenichi Handa2008-07-091-6/+0
|
* (font_make_object): New arg entity and pixelsize.Kenichi Handa2008-07-091-22/+165
| | | | | | | (font_check_otf_features, font_check_otf): New functions. (font_match_p): Check :lang, :script, and :otf properties. (font_open_entity): Set the member vertical_centering of struct font.
* (font_parse_fcname): Remove unused variables.Kenichi Handa2008-06-251-26/+20
| | | | | | (font_sort_entites): Delete the arg SPEC. Caller changed. Fix for the case of ! best_only. (font_delete_unmatched): Check DPI and AVGWIDTH too.
* (Ffont_face_attributes): Multiply pixel size before pointJason Rumney2008-06-241-1/+1
| | | | conversion to avoid multiplying rounding error.