[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: change font size in terminal remotely fails.
From: "Paum B." <fraybauhaus () gmail ! com>
Date: 2022-01-08 16:29:27
Message-ID: CAOjfzX1MydX5MX1xPsiBn_0mzS+AzBogGBnTqrq5FA_Bn4KiiQ () mail ! gmail ! com
[Download RAW message or body]
Hi,
I have forked the suckless st terminal (because of simplicity) for my
artistic needs. I do some livecoding stuff with kinda ascii art in it. (
vimeo <https://vimeo.com/656637692>)
I have added OSC <https://opensoundcontrol.stanford.edu/index.html> control
to be able to change some parameters on the fly (characters printed,
speed, colors etc.)
My problem:
st terminal has implemented functionality to change its font size on some
keyboard shortcut and it works (ctrl + shift + {PgUp, PgDown}). When I bind
the same function to my custom OSC hook (to be able remotely change font
size) it fails with error msg:
X Error of failed request: RenderBadGlyphSet (invalid GlyphSet parameter)
Major opcode of failed request: 139 (RENDER)
Minor opcode of failed request: 20 (RenderAddGlyphs)
GlyphSet id in failed request: 0x4400031
Serial number of failed request: 25116
Current serial number in output stream: 25143
What is strange is that it fails on cca 90% times. Sometimes, really
sometimes it works. I think I am missing something of X innards. Do you
anybody know where I should look ?
Thanx
[Attachment #3 (text/html)]
<div dir="ltr">Hi,<div><br></div><div>I have forked the suckless st terminal (because \
of simplicity) for my artistic needs. I do some livecoding stuff with kinda ascii art \
in it. (<a href="https://vimeo.com/656637692">vimeo</a>)</div><div><br></div><div>I \
have added <a href="https://opensoundcontrol.stanford.edu/index.html">OSC</a> control \
to be able to change some parameters on the fly (characters printed, speed, colors \
etc.)</div><div><br></div><div>My problem:</div><div>st terminal has implemented \
functionality to change its font size on some keyboard shortcut and it works (ctrl \
+ shift + {PgUp, PgDown}). When I bind the same function to my custom OSC hook (to be \
able remotely change font size) it fails with error \
msg:</div><div><br></div><div><span style="color:rgb(80,0,80)">X Error of failed \
request: RenderBadGlyphSet (invalid GlyphSet parameter)</span><br \
style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)"> Major opcode of failed \
request: 139 (RENDER)</span><br style="color:rgb(80,0,80)"><span \
style="color:rgb(80,0,80)"> Minor opcode of failed request: 20 \
(RenderAddGlyphs)</span><br style="color:rgb(80,0,80)"><span \
style="color:rgb(80,0,80)"> GlyphSet id in failed request: 0x4400031</span><br \
style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)"> Serial number of \
failed request: 25116</span><br style="color:rgb(80,0,80)"><div \
style="color:rgb(80,0,80)"> Current serial number in output stream: \
25143</div></div><div style="color:rgb(80,0,80)"><br></div><div \
style="color:rgb(80,0,80)">What is strange is that it fails on cca 90% times. \
Sometimes, really sometimes it works. I think I am missing something of X innards. Do \
you anybody know where I should look ?</div><div \
style="color:rgb(80,0,80)"><br></div><div style="color:rgb(80,0,80)">Thanx</div><div \
style="color:rgb(80,0,80)"><br></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic