Description of problem: Trying to use the Open Symbol font through fontconfig fails on RHEL5 Version-Release number of selected component (if applicable): openoffice.org-core-3.1.1-19.5.el5_5.1 How reproducible: Always Steps to Reproduce: #include <iostream> #include <fontconfig/fontconfig.h> int main() { FcPattern *pat, *match; FcResult result; char *family; char *file; int index; FcInit(); pat = FcPatternCreate (); FcPatternAddString (pat, FC_FAMILY, (const FcChar8*)"open symbol"); FcPatternAddInteger (pat, FC_WEIGHT, FC_WEIGHT_NORMAL); FcPatternAddInteger (pat, FC_SLANT, FC_SLANT_ROMAN); FcConfigSubstitute (NULL, pat, FcMatchPattern); FcDefaultSubstitute (pat); match = FcFontMatch (NULL, pat, &result); FcPatternGetString (match, FC_FAMILY, 0, (FcChar8**)&family); FcPatternGetString (match, FC_FILE, 0, (FcChar8**)&file); FcPatternGetInteger (match, FC_INDEX, 0, &index); std::cout << family << std::endl; std::cout << file << std::endl; std::cout << index << std::endl; } Actual results (as seen on RHEL 5): DejaVu LGC Sans /usr/share/fonts/dejavu-lgc/DejaVuLGCSans.ttf 0 Expected results (as seen on Fedora 12 and 13): OpenSymbol /usr/share/fonts/opensymbol/opens___.ttf 0
That font is placed in /usr/lib*/openoffice.org/basis3.1/share/fonts/truetype/ on RHEL 5.5. The font was not visible to fontconfig through RHEL 5.0 to RHEL 5.4 (just the directory was different), so there is no change there. If you really want to use it, add a dir entry for the directory to your fontconfig configuration.