You are not logged in.
Pages: 1
I've been having some issues with MATLAB and fonts recently. Basically, MATLAB shows me three different sets of fonts: firstly, when I enter
uisetfontinto the command line, I get a great huge list of fonts which are displayed correctly on the dialog and which I know to be installed on my computer. Secondly, when I type
listfonts, I get a second list of fonts, several of which I know are not installed on my system, such as Helvetica. Thirdly, when I'm working with figures, only a monospaced font (Courier, I believe) is being shown for all of the text (axis labels, title, etc), no matter what the font setting is for the label. The reason I'm posting this here is because from what I can gather, the text in figures is rendered by X and not by MATLAB. Thanks in advance for any suggestions.
Edit: I found this website that suggests a way to change xorg.conf to fix this, but Arch has no xorg.conf file. Is there a way to adapt this to Arch?
Last edited by myucht (2012-07-15 14:09:26)
Offline
Look at the fragments under /etc/X11/xorg.conf.d/. You could try creating a similar fragment for matlab - you shouldn't need a whole xorg.conf but should be able to just specify the particular bits which the defaults don't get right. At least, that's my somewhat rough understand. Take a look on the wiki for more detail and examples.
EDIT: I assume from that site that you're using nvidia. Have you checked out https://wiki.archlinux.org/index.php/Matlab#Nvidia?
Last edited by cfr (2012-07-15 13:18:37)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Thank you cfr, but I actually found my answer at the MATLAB site (here). I was missing a couple font packages (namely xorg-fonts-100dpi, xorg-fonts-75dpi, and xorg-fonts-type1). Now fonts are displayed correctly in figures. I will update the wiki to include these necessary packages.
Offline
Pages: 1