• Font Problem with xemacs 21.5.35

    From Jody Weissmann@21:1/5 to All on Tue Aug 29 00:43:28 2023
    Hi
    I emerged (my OS is gentoo) xemacs-21.5.35 on my machine, and when i opened it, it displayed text in strange proportional font. In the menu "Options|Font" there were no fonts listed.
    When i went back to xemacs 21.4.24-r9 everything was back to normal (there are now 5 fonts listed under "Options|Font" again).

    Is there something i can do to have normal fonts in xemacs 21.5.35?

    Jody

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From mats.lidell@gmail.com@21:1/5 to All on Fri Sep 1 13:52:10 2023
    Hi Jody,

    Thanks for the report. Can it be that you have the xft use flag set, that enables Xft font support? Xft requires font names to be provided in a different way, so you may need to adjust your .Xdefaults or .Xresources accordingly.

    If that is the case then this config might help you get an idea of what you need to do.

    -------
    !! For xft enabled XEmacs
    !! "!/usr/bin/xrdb -load .Xresources"

    Xcursor.size: 16

    XEmacs*Tabs.fcFontName: Sans-6
    XEmacs*menubar*fcFontName: Sans-8
    XEmacs.modeline.attributeFont: Liberation Mono-12
    XEmacs.default.attributeFont: Liberation Mono-12
    XEmacs.scrollBarWidth: 12

    *popup*fcFontName: Sans-8
    *menubar*FontSet: Sans-8
    XEmacs*Dialog*Font: Sans-8
    -------

    The font menu might not be without its problems I'm afraid. For the rational to switch to 21.5 as the new stable version see https://wiki.gentoo.org/wiki/Project:XEmacs/XEmacs_on_Gentoo#XEmacs_21.5_-_The_new_stable_version/

    %% Mats

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aidan Kehoe@21:1/5 to All on Sun Sep 3 15:33:46 2023
    Thanks for the report Jody.

    Mats, as the Gentoo maintainer (thanks Mats) is likely accurate in his suggestions. If you do M-x report-xemacs-bug RET , that will generate a buffer with the details of your build that will better allow us to narrow down what might be going on. Please post it to the group when you can.

    Best,

    Aidan

    Ar an naoú lá is fiche de mí Lúnasa, scríobh Jody Weissmann:

    Hi
    I emerged (my OS is gentoo) xemacs-21.5.35 on my machine, and when i opened it, it displayed text in strange proportional font. In the menu "Options|Font" there were no fonts listed.
    When i went back to xemacs 21.4.24-r9 everything was back to normal (there are now 5 fonts listed under "Options|Font" again).

    Is there something i can do to have normal fonts in xemacs 21.5.35?

    Jody

    --
    ‘As I sat looking up at the Guinness ad, I could never figure out /
    How your man stayed up on the surfboard after fourteen pints of stout’
    (C. Moore)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jody Weissmann@21:1/5 to Jody Weissmann on Sun Sep 3 23:59:19 2023
    Perhaps also og interest is my ".custom.el" file the contents of which are: ------------------------------------------------------------------------
    ;; To associate *.h files with c++ mode use the following line
    (add-to-list 'auto-mode-alist '("\\.h$" . c++-mode))
    (add-to-list 'auto-mode-alist '("\\.cu$" . c++-mode))
    (add-to-list 'auto-mode-alist '("\\.code$" . c++-mode))
    (add-to-list 'auto-mode-alist '("\\.glsl$" . c++-mode))
    (global-set-key 'f2 'compile)

    (custom-set-variables
    '(c-basic-offset 4)
    '(column-number-mode t)
    '(font-lock-mode t nil (font-lock))
    '(indent-tabs-mode nil)
    '(line-number-mode t)
    '(truncate-lines t))
    (custom-set-faces
    '(default ((t (:background "snow2" :size "11pt" :family "Fixed"))) t)
    '(bg:snow2 ((t (:foreground "light gray" :background "light gray"))) t)) (mwheel-install)

    (define-key global-map "\M->" 'indent-region)
    (define-key global-map "\M-s" 'font-lock-mode)

    ;(custom-set-faces
    ; '(default ((t (:background "snow2" :size "10pt" :family "Courier"))) t))

    (setq load-path
    (append (list nil "/home/jody"
    "/home/jody/.xemacs"
    "~/emacs")
    load-path)) ----------------------------------------------------------------------
    Regards
    Jody
    On Monday, September 4, 2023 at 8:55:58 AM UTC+2, Jody Weissmann wrote:
    Thank you for your replies.
    As i was unable to find out how to attach a file to this message in the google groups mail editor, i send the report in a separate mail from google mail.

    @Mats: how do i find out if Xft font support is enabled?

    Regards
    Jody
    On Sunday, September 3, 2023 at 4:33:50 PM UTC+2, Aidan Kehoe wrote:
    Thanks for the report Jody.

    Mats, as the Gentoo maintainer (thanks Mats) is likely accurate in his suggestions. If you do M-x report-xemacs-bug RET , that will generate a buffer
    with the details of your build that will better allow us to narrow down what
    might be going on. Please post it to the group when you can.

    Best,

    Aidan

    Ar an naoú lá is fiche de mí Lúnasa, scríobh Jody Weissmann:
    Hi
    I emerged (my OS is gentoo) xemacs-21.5.35 on my machine, and when i opened it, it displayed text in strange proportional font. In the menu "Options|Font" there were no fonts listed.
    When i went back to xemacs 21.4.24-r9 everything was back to normal (there are now 5 fonts listed under "Options|Font" again).

    Is there something i can do to have normal fonts in xemacs 21.5.35?

    Jody
    --
    ‘As I sat looking up at the Guinness ad, I could never figure out /
    How your man stayed up on the surfboard after fourteen pints of stout’ (C. Moore)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jody Weissmann@21:1/5 to Aidan Kehoe on Sun Sep 3 23:55:56 2023
    Thank you for your replies.
    As i was unable to find out how to attach a file to this message in the google groups mail editor, i send the report in a separate mail from google mail.

    @Mats: how do i find out if Xft font support is enabled?

    Regards
    Jody

    On Sunday, September 3, 2023 at 4:33:50 PM UTC+2, Aidan Kehoe wrote:
    Thanks for the report Jody.

    Mats, as the Gentoo maintainer (thanks Mats) is likely accurate in his suggestions. If you do M-x report-xemacs-bug RET , that will generate a buffer
    with the details of your build that will better allow us to narrow down what might be going on. Please post it to the group when you can.

    Best,

    Aidan

    Ar an naoú lá is fiche de mí Lúnasa, scríobh Jody Weissmann:
    Hi
    I emerged (my OS is gentoo) xemacs-21.5.35 on my machine, and when i opened it, it displayed text in strange proportional font. In the menu "Options|Font" there were no fonts listed.
    When i went back to xemacs 21.4.24-r9 everything was back to normal (there are now 5 fonts listed under "Options|Font" again).

    Is there something i can do to have normal fonts in xemacs 21.5.35?

    Jody
    --
    ‘As I sat looking up at the Guinness ad, I could never figure out /
    How your man stayed up on the surfboard after fourteen pints of stout’
    (C. Moore)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jody Weissmann@21:1/5 to Jody Weissmann on Mon Sep 4 23:36:12 2023
    After several failed attempts to send something here from Gmail, i pasted the bug report here:
    https://pastebin.com/8dG337Z5

    Regards
    Jody
    On Monday, September 4, 2023 at 8:59:21 AM UTC+2, Jody Weissmann wrote:
    Perhaps also og interest is my ".custom.el" file the contents of which are: ------------------------------------------------------------------------
    ;; To associate *.h files with c++ mode use the following line
    (add-to-list 'auto-mode-alist '("\\.h$" . c++-mode))
    (add-to-list 'auto-mode-alist '("\\.cu$" . c++-mode))
    (add-to-list 'auto-mode-alist '("\\.code$" . c++-mode))
    (add-to-list 'auto-mode-alist '("\\.glsl$" . c++-mode))
    (global-set-key 'f2 'compile)

    (custom-set-variables
    '(c-basic-offset 4)
    '(column-number-mode t)
    '(font-lock-mode t nil (font-lock))
    '(indent-tabs-mode nil)
    '(line-number-mode t)
    '(truncate-lines t))
    (custom-set-faces
    '(default ((t (:background "snow2" :size "11pt" :family "Fixed"))) t) '(bg:snow2 ((t (:foreground "light gray" :background "light gray"))) t)) (mwheel-install)

    (define-key global-map "\M->" 'indent-region)
    (define-key global-map "\M-s" 'font-lock-mode)

    ;(custom-set-faces
    ; '(default ((t (:background "snow2" :size "10pt" :family "Courier"))) t))

    (setq load-path
    (append (list nil "/home/jody"
    "/home/jody/.xemacs"
    "~/emacs")
    load-path)) ---------------------------------------------------------------------- Regards
    Jody
    On Monday, September 4, 2023 at 8:55:58 AM UTC+2, Jody Weissmann wrote:
    Thank you for your replies.
    As i was unable to find out how to attach a file to this message in the google groups mail editor, i send the report in a separate mail from google mail.

    @Mats: how do i find out if Xft font support is enabled?

    Regards
    Jody
    On Sunday, September 3, 2023 at 4:33:50 PM UTC+2, Aidan Kehoe wrote:
    Thanks for the report Jody.

    Mats, as the Gentoo maintainer (thanks Mats) is likely accurate in his suggestions. If you do M-x report-xemacs-bug RET , that will generate a buffer
    with the details of your build that will better allow us to narrow down what
    might be going on. Please post it to the group when you can.

    Best,

    Aidan

    Ar an naoú lá is fiche de mí Lúnasa, scríobh Jody Weissmann:
    Hi
    I emerged (my OS is gentoo) xemacs-21.5.35 on my machine, and when i opened it, it displayed text in strange proportional font. In the menu "Options|Font" there were no fonts listed.
    When i went back to xemacs 21.4.24-r9 everything was back to normal (there are now 5 fonts listed under "Options|Font" again).

    Is there something i can do to have normal fonts in xemacs 21.5.35?

    Jody
    --
    ‘As I sat looking up at the Guinness ad, I could never figure out / How your man stayed up on the surfboard after fourteen pints of stout’ (C. Moore)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aidan Kehoe@21:1/5 to All on Tue Sep 5 19:23:30 2023
    Ar an ceathrú lá de mí Méan Fómhair, scríobh Jody Weissmann:

    After several failed attempts to send something here from Gmail, i pasted the bug report here: https://pastebin.com/8dG337Z5

    Great, Jody, thanks. The relevant bits are here:

    - Using fontconfig to manage fonts.
    - Compiling in support for Xft antialiased fonts (EXPERIMENTAL).

    This means you are using Xft and fontconfig, as Mats suggests (the Xft use flag.) This work was never finished and I plan to remove it, given the same functionality will be provided by GTK (which is also not finished, but should, all going well, mean more of the heavy lifting will be done by developers who are not XEmacs developers).

    You will need a selection of core X11 fonts installed, something often neglected by recent Linux.

    --
    ‘As I sat looking up at the Guinness ad, I could never figure out /
    How your man stayed up on the surfboard after fourteen pints of stout’
    (C. Moore)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jody Weissmann@21:1/5 to Aidan Kehoe on Wed Sep 6 02:04:44 2023
    Thank you for your explanations.
    I have reinstalled xemacs with "USE=-xft", and now xemacs' fonts look normal (the font menu has the same etries as in the previous version)
    Thanks again for your help!

    Regards
    Jody
    On Tuesday, September 5, 2023 at 8:23:33 PM UTC+2, Aidan Kehoe wrote:
    Ar an ceathrú lá de mí Méan Fómhair, scríobh Jody Weissmann:
    After several failed attempts to send something here from Gmail, i pasted the bug report here: https://pastebin.com/8dG337Z5
    Great, Jody, thanks. The relevant bits are here:

    - Using fontconfig to manage fonts.
    - Compiling in support for Xft antialiased fonts (EXPERIMENTAL).

    This means you are using Xft and fontconfig, as Mats suggests (the Xft use flag.) This work was never finished and I plan to remove it, given the same functionality will be provided by GTK (which is also not finished, but should,
    all going well, mean more of the heavy lifting will be done by developers who
    are not XEmacs developers).

    You will need a selection of core X11 fonts installed, something often neglected by recent Linux.
    --
    ‘As I sat looking up at the Guinness ad, I could never figure out /
    How your man stayed up on the surfboard after fourteen pints of stout’
    (C. Moore)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aidan Kehoe@21:1/5 to All on Wed Sep 6 17:38:21 2023
    Ar an séiú lá de mí Méan Fómhair, scríobh Jody Weissmann:

    Thank you for your explanations.
    I have reinstalled xemacs with "USE=-xft", and now xemacs' fonts look normal (the font menu has the same etries as in the previous version)
    Thanks again for your help!

    Great, glad it worked!

    --
    ‘As I sat looking up at the Guinness ad, I could never figure out /
    How your man stayed up on the surfboard after fourteen pints of stout’
    (C. Moore)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)