[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple-font strings and char encodings in CLX

    Question 2: Given a char set identifier, how do I know if I need to draw
    with 8- or 16-bit size indexes?

You either "know", based on intrinsic knowledge of the char set, or else
you look at the font instance and see how many glyphs it has, or else you
simply use 16 bits as a worst case (no harm will come).