groknull has quit [Remote host closed the connection]
groknull has joined #river
cabal704 has quit [Ping timeout: 252 seconds]
groknull has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 265 seconds]
snakedye has quit [Ping timeout: 244 seconds]
groknull has joined #river
groknull has quit [Remote host closed the connection]
eShaev9z_ has joined #river
eShaev9z has quit [Ping timeout: 268 seconds]
groknull has joined #river
groknull has quit [Remote host closed the connection]
elshize has quit [Ping timeout: 268 seconds]
groknull has joined #river
groknull has quit [Remote host closed the connection]
groknull has joined #river
groknull has quit [Remote host closed the connection]
groknull has joined #river
ghostbuster has quit [Quit: Death is but a door. Time is but a window. I'll be back.]
groknull has quit [Remote host closed the connection]
<NikhilSingh[m]1>
anyone using timeshift?
<NikhilSingh[m]1>
if so have you figured out solution of `Gtk-WARNING **: 09:10:54.681: cannot open display: `
groknull has joined #river
daurnimator has quit [Ping timeout: 255 seconds]
daurnimator has joined #river
groknull has quit [Remote host closed the connection]
hochata has quit [Ping timeout: 268 seconds]
Ordoviz has joined #river
waleee has joined #river
waleee has quit [Ping timeout: 264 seconds]
jao has quit [Ping timeout: 265 seconds]
Guest24 has joined #river
<dnkl>
leon-p: technically yes
<dnkl>
if harfbuzz returns zero glyphs for the entire text run
<dnkl>
(fcft does a realloc() if the glyphs array at the end, and realloc is allowed to return NULL in this case)
<dnkl>
but you should never see glyphs == NULL if count > 0
<dnkl>
a wait, you meant individual elements
Guest24 has quit [Quit: Client closed]
<dnkl>
then no, that isn't possible (and if it does happen it's a bug)
<dnkl>
fcft will error out on malloc failures
<dnkl>
and if we fail to load the glyph, it's skipped
<dnkl>
so, all glyph elements should be valid
daurnimator has quit [Ping timeout: 268 seconds]
daurnimator has joined #river
Ordoviz has quit [Ping timeout: 264 seconds]
<leon-p>
thanks for clarifying. I am debugging a weird segfault right now and that was one of the ideas I had. When renderinf "ff" (just that, all other character combinations seems to work fine) I get an invalid read when I try to dereference any elements of the glyph of the second "f" (glyphs are from the text run)
Ordoviz has joined #river
groknull has joined #river
groknull has quit [Remote host closed the connection]
<ifreund>
if you haven't tried valgrind yet, I'd recommend it :P
<leon-p>
I have thrown every debugger I know at it, so far without results. But I was also tired yesterday, maybe I should try again now that I am awake
<novakane>
that's weird I never come across something like this
<novakane>
it doesn't seems to happens in zelbar or zig-fcft example
groknull has joined #river
waleee has joined #river
groknull has quit [Remote host closed the connection]
groknull has joined #river
groknull has quit [Remote host closed the connection]
bfiedler_ has joined #river
ifreund_ has joined #river
norkki has quit [Ping timeout: 244 seconds]
travankor has quit [Read error: Connection reset by peer]
notzmv has quit [Ping timeout: 244 seconds]
norkki_ has joined #river
aryak has quit [*.net *.split]
Ankhers has quit [*.net *.split]
whereswaldon has quit [*.net *.split]
pvsr has quit [*.net *.split]
ane has quit [*.net *.split]
ifreund has quit [*.net *.split]
bfiedler has quit [*.net *.split]
tiosgz has quit [*.net *.split]
Grafcube[m] has quit [*.net *.split]
yutkat[m] has quit [*.net *.split]
AryaKiran has quit [*.net *.split]
Abdullah has quit [*.net *.split]
NikhilSingh[m]1 has quit [*.net *.split]
Shinyzenith[m] has quit [*.net *.split]
Arya[verncc][m] has quit [*.net *.split]
eShaev9z_ has quit [*.net *.split]
norkki_ has quit [*.net *.split]
waleee has quit [*.net *.split]
Nulo has quit [*.net *.split]
NickH has quit [*.net *.split]
hspak6 has quit [*.net *.split]
wrl has quit [*.net *.split]
Snektron has quit [*.net *.split]
ecocode[m] has quit [*.net *.split]
p00f1 has quit [*.net *.split]
mannerism has quit [*.net *.split]
dagle has quit [*.net *.split]
Misthios has quit [*.net *.split]
boombim has quit [*.net *.split]
zdykstra has quit [*.net *.split]
dvzrv has quit [*.net *.split]
inclemen1 has quit [*.net *.split]
ahmadraniri[m] has quit [*.net *.split]
klim has quit [*.net *.split]
emersion has quit [*.net *.split]
qyliss has quit [*.net *.split]
alebastr has quit [*.net *.split]
daurnimator has quit [*.net *.split]
tleydxdy[m] has quit [*.net *.split]
plumeus has quit [*.net *.split]
DemiMarie has quit [*.net *.split]
kraem_ has quit [*.net *.split]
xaltsc has quit [*.net *.split]
testy has quit [*.net *.split]
voroskoi[m] has quit [*.net *.split]
Anderson-D has quit [*.net *.split]
flub has quit [*.net *.split]
omni has quit [*.net *.split]
angry_vincent has quit [*.net *.split]
kennylevinsen has quit [*.net *.split]
coder_kalyan has quit [*.net *.split]
raiaq has quit [*.net *.split]
maringuu has quit [*.net *.split]
DZoidberg has quit [*.net *.split]
dnkl has quit [*.net *.split]
kindablue has quit [*.net *.split]
voroskoi has quit [*.net *.split]
anjan has quit [*.net *.split]
psnszsn has quit [*.net *.split]
novakane has quit [*.net *.split]
andrea has quit [*.net *.split]
leon-p has quit [*.net *.split]
milesrout has quit [*.net *.split]
akumar[m] has quit [*.net *.split]
entenel has quit [*.net *.split]
lordmzte has quit [*.net *.split]
mizzunet has quit [*.net *.split]
kragacles has quit [*.net *.split]
duncaen has quit [*.net *.split]
romangg has quit [*.net *.split]
bw has quit [*.net *.split]
n0r[m] has quit [*.net *.split]
uncomfyhalomacro has quit [*.net *.split]
mattnite has quit [*.net *.split]
hendry has quit [*.net *.split]
ChanServ has quit [*.net *.split]
Ankhers has joined #river
Ordoviz has quit [Ping timeout: 265 seconds]
kennylevinsen has joined #river
raiaq has joined #river
ecocode[m] has joined #river
daurnimator has joined #river
norkki_ has joined #river
waleee has joined #river
wrl has joined #river
milesrout has joined #river
DZoidberg has joined #river
maringuu has joined #river
voroskoi has joined #river
kindablue has joined #river
dnkl has joined #river
novakane has joined #river
anjan has joined #river
psnszsn has joined #river
coder_kalyan has joined #river
hendry has joined #river
eShaev9z_ has joined #river
andrea has joined #river
Snektron has joined #river
Abdullah has joined #river
uncomfyhalomacro has joined #river
akumar[m] has joined #river
NikhilSingh[m]1 has joined #river
Arya[verncc][m] has joined #river
plumeus has joined #river
DemiMarie has joined #river
tleydxdy[m] has joined #river
testy has joined #river
ahmadraniri[m] has joined #river
Grafcube[m] has joined #river
Nulo has joined #river
n0r[m] has joined #river
leon-p has joined #river
NickH has joined #river
lordmzte has joined #river
Shinyzenith[m] has joined #river
p00f1 has joined #river
yutkat[m] has joined #river
hspak6 has joined #river
mannerism has joined #river
AryaKiran has joined #river
qyliss has joined #river
dagle has joined #river
emersion has joined #river
kragacles has joined #river
klim has joined #river
voroskoi[m] has joined #river
dvzrv has joined #river
inclemen1 has joined #river
mizzunet has joined #river
entenel has joined #river
zdykstra has joined #river
kraem_ has joined #river
Anderson-D has joined #river
Misthios has joined #river
omni has joined #river
xaltsc has joined #river
duncaen has joined #river
boombim has joined #river
mattnite has joined #river
romangg has joined #river
bw has joined #river
ChanServ has joined #river
flub has joined #river
angry_vincent has joined #river
alebastr has joined #river
Ankhers is now known as Guest2730
pvsr has joined #river
tiosgz has joined #river
aryak has joined #river
kitty4 has quit [*.net *.split]
Ristovski has quit [*.net *.split]
whereswaldon has joined #river
ane has joined #river
voroskoi[m] has quit [Ping timeout: 268 seconds]
n0r[m] has quit [Ping timeout: 240 seconds]
p00f1 has quit [Ping timeout: 268 seconds]
Shinyzenith[m] has quit [Ping timeout: 250 seconds]
lordmzte has quit [Ping timeout: 264 seconds]
entenel has quit [Ping timeout: 264 seconds]
mizzunet has quit [Ping timeout: 264 seconds]
plumeus has quit [Ping timeout: 248 seconds]
kraem_ has quit [Ping timeout: 248 seconds]
yutkat[m] has quit [Ping timeout: 268 seconds]
AryaKiran has quit [Ping timeout: 268 seconds]
ahmadraniri[m] has quit [Ping timeout: 268 seconds]
testy has quit [Ping timeout: 268 seconds]
tiosgz has quit [Ping timeout: 264 seconds]
uncomfyhalomacro has quit [Ping timeout: 240 seconds]
Snektron has quit [Ping timeout: 268 seconds]
NikhilSingh[m]1 has quit [Ping timeout: 250 seconds]
DemiMarie has quit [Ping timeout: 248 seconds]
ecocode[m] has quit [Ping timeout: 268 seconds]
tleydxdy[m] has quit [Ping timeout: 248 seconds]
Ristovski has joined #river
kitty4 has joined #river
Arya[verncc][m] has quit [Ping timeout: 250 seconds]
akumar[m] has quit [Ping timeout: 264 seconds]
Grafcube[m] has quit [Ping timeout: 268 seconds]
wrl_ has joined #river
Nulo has quit [Ping timeout: 252 seconds]
wrl has quit [Ping timeout: 268 seconds]
NikhilSingh[m]1 has joined #river
Snektron has joined #river
plumeus has joined #river
voroskoi[m] has joined #river
Shinyzenith[m] has joined #river
entenel has joined #river
lordmzte has joined #river
ahmadraniri[m] has joined #river
mizzunet has joined #river
p00f1 has joined #river
n0r[m] has joined #river
tleydxdy[m] has joined #river
uncomfyhalomacro has joined #river
testy has joined #river
DemiMarie has joined #river
yutkat[m] has joined #river
elshize has joined #river
AryaKiran has joined #river
wrl_ has quit [Quit: Reconnecting]
wrl has joined #river
ifreund_ has quit [Changing host]
ifreund_ has joined #river
<dnkl>
leon-p: ff is probably a single glyph
<dnkl>
but then count should be set accordingly in the text run
<leon-p>
hmm, let me try with a different font
kraem_ has joined #river
<dnkl>
lots of fonts have ligatures for ff, fi, tt ti etc
ecocode[m] has joined #river
<dnkl>
in short, you can't rely on a one-to-one mapping between codepoints and glyphs
<dnkl>
emoji grapheme clusters is another example
<leon-p>
true, but I also got invalid reads when trying to get other elemts of the codepoint struct. So is there a way to know if a glyph is valid?
<leon-p>
also ligatures do work in a different font
<dnkl>
the run's "count" member reflects the number of valid glyphs. If you get invalid accesses there, then it's probably a fcft bug
<dnkl>
s/there/outside its range/
<leon-p>
I am still more leaning towards me doing something off here, but if I can reproduce it, I'll tell you
<leon-p>
s/reproduce it/reproduce it in a small example program/g
Grafcube[m] has joined #river
Ordoviz has joined #river
tiosgz has joined #river
akumar[m] has joined #river
Arya[verncc][m] has joined #river
elshize has quit [Ping timeout: 250 seconds]
waleee has quit [Ping timeout: 252 seconds]
notzmv has joined #river
cabal704 has joined #river
jao has joined #river
Ordoviz has quit [Ping timeout: 248 seconds]
cabal704 has quit [Quit: WeeChat 3.5]
Ordoviz has joined #river
cabal704 has joined #river
cabal704 has quit [Client Quit]
cabal704 has joined #river
Nulo has joined #river
notzmv has quit [Read error: Connection reset by peer]
jao has quit [Ping timeout: 264 seconds]
ayushnix has joined #river
cabal704 has quit [Ping timeout: 264 seconds]
ayushnix has quit [Remote host closed the connection]
Ordoviz has quit [Ping timeout: 252 seconds]
Ordoviz has joined #river
mannerism has quit [Remote host closed the connection]
mannerism has joined #river
notzmv has joined #river
ayushnix has joined #river
jao has joined #river
Ordoviz has quit [Quit: WeeChat 3.6]
travankor has joined #river
waleee has joined #river
<leon-p>
gdb confirms it, when reating a text run of "ff" I get two glyph pointers, the second one somehow being NULL
<leon-p>
and the length of the array is 2
notzmv has quit [Ping timeout: 244 seconds]
<dnkl>
do you know which font it's loading "ff" from?
<leon-p>
Ubuntu
<leon-p>
or "sans", but I configured that to be Ubuntu in fontconfig
<dnkl>
can you reproduce with the C example program in fcft?
<leon-p>
nope, apparently not. I must be using it wrong somehow
<leon-p>
dammit
<leon-p>
used the wrong len -_-
<leon-p>
it's a bloody ligature after all, apparently. other ligatures worked fine though, but whatever, it works now
<leon-p>
systems-programming footgun #234: if you create your own slices, you tend to trust their length out of habit
hspak6 has quit [Ping timeout: 252 seconds]
hspak6 has joined #river
elshize has joined #river
ayushnix has quit [Remote host closed the connection]
ayushnix has joined #river
zdykstra has quit [Read error: Connection reset by peer]
crdpa has joined #river
crdpa has quit [Client Quit]
ayushnix has quit [Remote host closed the connection]