Bug 108 - Xft should hide maximum request length
Summary: Xft should hide maximum request length
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xft (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard: 2011BRB_Reviewed
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-28 09:59 UTC by Owen Taylor
Modified: 2015-11-05 06:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Owen Taylor 2003-08-28 09:59:46 UTC
If you feed a really, really long string into Xft, it will cause an 
error because the maximum request length will be violated. 
Xft should cover this up and automatically break long strings into
multiple pieces... while drawing really long strings is pathological
it's a lot of work for an app to check everywhere that a user didn't
give it such.

(Doesn't affect Pango because Pango limits requests to 1024 glyphs,
but it would affect a native user of the Xft API.)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.