[Interest] Make a specific Unicode glyph wider in a QTextLayout
Wang Gary
wzc782970009 at gmail.com
Sun Dec 15 18:07:46 CET 2024
Hi again,
> > > Replace the non-visible character in the model with a visible one in the
> > > view?
> > Well, there are some reasons that I personally would like to avoid
> > that. Firstly this
> > feature itself is more of a view-level function, modifying the model
> > sounds weird[1].
> My suggestion wasn't to replace them in the model, but to replace them in the
> view.
I'm a little confused, the whole set of QTextLayout API doesn't seems to be a
model/view structure, and by looking into the KTextEditor I also didn't find any
model/view related stuff in the textlayout-related code. Did I miss something?
Best regards
Gary
More information about the Interest
mailing list