The "Basic Graphics Programming" tutorial for XCB includes a section on fonts and text (http://www.x.org/releases/X11R7.5/doc/libxcb/tutorial/index.html#font). Unfortunately, this part of the tutorial uses server-side, core fonts whose use is discouraged.
This section of the tutorial should be removed, replaced with an Xft section, or at least annotated with a warning that Xft provides better font and text support than the old core fonts system.
For example, the "Fonts in X11" documentation (http://www.x.org/releases/X11R7.5/doc/fonts/fonts.html) says, "While X.Org will continue to maintain the core fonts system, toolkit authors are encouraged to switch to Xft as soon as possible."
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libxcb/issues/22.