Fonts not rendered correctly

7 visualizaciones (últimos 30 días)
AS
AS el 5 de Ag. de 2021
Comentada: Chunru el 6 de Ag. de 2021
Two weeks ago, Matlab threw me a low-level graphics error. Ever since restarting it, Matlab does not render fonts as it should inside the editor. Everything is readable, but it looks off (everything looks too thin) as you can see in the image below (which is supposed to be Bitstream Vera Sans Monspaced font). All available fonts have this weird thinnish appearance in the editor.
Besides this, I had a whole load of problems, including errors like
com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x254b441c, isOwner false, <26b4eee8, 71f1a077>[count 0, qsz 0, owner <NULL>]]]
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
on startup, and low-level graphics errors whenever I try to plot anything.
Opengl info now yields the following output:
>> opengl info
MATLAB has experienced a low-level graphics error, and may not have drawn correctly.
Read about what you can do to prevent this issue at Resolving Low-Level Graphics Issues then restart MATLAB.
To share details of this issue with MathWorks technical support,
please include this file with your service request.
Version: ''
Vendor: ''
Renderer: 'None'
RendererDriverVersion: ''
RendererDriverReleaseDate: ''
MaxTextureSize: 0
Visual: ''
Software: 1
HardwareSupportLevel: 'none'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {}
MaxFrameBufferSize: 0
I managed to fix the errors above by strating Matlab with the following command:
Exec=env MESA_LOADER_DRIVER_OVERRIDE=i965 matlab -desktop
However, the editor still looks the same. How can I get the fonts to render as they should?
I am running matlab R2018a on a linux machine with integrated Intel graphics.
  3 comentarios
AS
AS el 5 de Ag. de 2021
Yes, I'll probably end up doing that. At this point, it's probably the fastest solution. I still hope to understand what is going on, in order to avoid it in the future.
Chunru
Chunru el 6 de Ag. de 2021
I remember in some very earlier version of matlab, java installation could cause the problem. But I am not sure. Just take this as a guess.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by