1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-11 18:31:17 -08:00
emacs/doc
Po Lu c933f5081f Permit XLFD names to exceed 255 characters
* doc/lispref/display.texi (Low-Level Font)
<font-xlfd-name>: Document new argument `long-xlfds'.

* etc/NEWS: Mention removal of XLFD length restrictions.

* src/font.c (font_build_object): Dynamically allocate XLFD,
permitting them to surpass 255 characters in length.
(font_parse_xlfd_1): Cease rejecting XLFDs more than 255
characters in length.
(font_dynamic_unparse_xlfd): New function.  Like
font_unparse_xlfd, but allocate the XLFD dynamically.
(font_delete_unmatched): Dynamically allocate XLFD if necessary.
(Ffont_xlfd_name): New arg LONG_XLFDs.  If t, return a
dynamically allocated XLFD.  All callers changed.

* src/font.h: Update prototypes.

* src/fontset.c (Fnew_fontset): Dynamically allocate XLFD when
establishing fontset name.
2023-09-08 10:37:18 +08:00
..
emacs Open org-protocol:// links on Android 2023-09-02 10:06:05 +08:00
lispintro ; * doc/lispintro/emacs-lisp-intro.texi (car & cdr): Fix typo. 2023-06-25 08:27:01 +03:00
lispref Permit XLFD names to exceed 255 characters 2023-09-08 10:37:18 +08:00
man ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
misc Eglot: add new chapter about Elisp extensions to Eglot manual 2023-09-04 21:35:41 +01:00