Upstream. I assume Emacs 29 isn’t in HaikuPorts yet.
Thanks.
Upstream. I assume Emacs 29 isn’t in HaikuPorts yet.
Thanks.
I added a HaikuPorts recipe for Emacs 29 a few weeks ago.
I think it would be best to set up some kind of system that builds it weekly if possible.
Thanks.
BTW, I looked at the recipe: I wouldn’t recommend to enable Cairo unless you have a use for color fonts or languages with text shaping requirements (such as Arabic).
It uses fontconfig to find fonts, which IME doesn’t work well on Haiku.
Ok, I’ll test some builds with cairo/fontconfig/harfbuzz removed.
Thanks
Hello. Anyone found a fix or workaround for the tiny font issue? I’m trying last version available in HaikuDepot (29.0.50~git4), but still got the issue. I tried with the “Set default font” option, but didn’t have any effect.
Please show the output of “M-x describe-char RET” with the point (the cursor) on a character displayed in the tiny font.
Thanks.
Hi! Sorry, but wich key is suposed to be Meta key? I tried with Control x and Alt x, but neither of them apparently works.
It’s alt unless you have some other key configured to be the command key. How doesn’t alt work for you?
The project its working? will be on the haiku depot?
Emacs 29.x is already in Depot.
Hello! I’m using the default Alt / Ctrl configuration (Alt-c for copy, for example). I don’t understand where the “M-x describe-char RET” output is suposed to appears.
In Emacs they have something called Meta key. On most computers this M-‘other key’ means "Alt+‘other key’. So if the instructions says, “M-s” then it means “Alt-s” on most computers. I prefer the spacemacs way for some operations so my Meta key is the SPACE instead of Alt.
M-x should show the minibuffer (check left bottom). Then you can enter describe-char and press Enter/return to see more. I would recommend installing some packages if you are new to emacs. Like Which-key that helps you with short cuts and a completion framework, like Ivy/helm/vertico and Counsel.
“M-x” should mean Alt+X. The output should appear in another buffer, that will typically be displayed in another window (what Emacs calls “panes”) in a frame (which is what Emacs calls “windows”).
Not un_spacyar, but I think I’ve run into the same issue? Here’s describe-char output:
character: d (displayed as d) (codepoint 100, #o144, #x64)
charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x64
script: latin
syntax: w which means: word
category: .:Base, L:Strong L2R, a:ASCII, l:Latin, r:Roman
to input: type "C-x 8 RET 64" or "C-x 8 RET LATIN SMALL LETTER D"
buffer code: #x64
file code: #x64 (encoded by coding system utf-8-unix)
display: by this font (glyph code):
haiku:-haiku-Noto Sans Mono-normal-normal-normal-*-2-*-*-*-m-0-utf-8 (#x64)
Character code properties: customize what to show
name: LATIN SMALL LETTER D
general-category: Ll (Letter, Lowercase)
decomposition: (100) ('d')
It’s weird, at some point I had a built version of Emacs working just fine, but rebuilding lead to this issue. I had a go at reverting to an older commit, but no dice. I can only assume something changed in my environment, but I’m not sure what. `o`
Thanks. What happens if you start Emacs with the argument “-fn Noto Sans Mono-12”?
Thanks-- No dice with Noto Sans Mono-12, but funnily enough, with a font-size of 500 things start to look normal!
Can you check in screen preferences what DPI value is reported? It should be shown on the monitor preview on the left. It’s possible that your display report an incorrect physical size, and if any apps uses this DPI value (accessible through the BScreen class) to adjust its size automatically, strange things like that will happen.
You’re right on the money― it looks like the DPI and screen dimensions are saved into a struct, which I can only assume is used to scale like you say.
Physical sizes seem right for both screens tested (15.1" + 143 DPI, 17" + 96 DPI). For the 143 DPI monitor, 500pt font looks like a 15pt font, whereas on the 96 DPI it looks more like 5pt.
Emacs does use that information, yes. What happens if you comment out this line in haikuterm.c?
be_get_display_resolution (&dpyinfo->resx, &dpyinfo->resy);