home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xcontextdependentdrawing.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  6.3 KB  |  199 lines

  1.  
  2.  
  3.  
  4. XFontsOfFontSet(3X11)      XLIB FUNCTIONS    XFontsOfFontSet(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XFontsOfFontSet, XBaseFontNameListOfFontSet, XLocaleOf-
  9.        FontSet, XContextDependentDrawing, XContextualDrawing,
  10.        XDirectionalDependentDrawing - obtain fontset information
  11.  
  12. SSYYNNTTAAXX
  13.        int XFontsOfFontSet(_f_o_n_t___s_e_t, _f_o_n_t___s_t_r_u_c_t___l_i_s_t___r_e_t_u_r_n,
  14.        _f_o_n_t___n_a_m_e___l_i_s_t___r_e_t_u_r_n)
  15.           XFontSet _f_o_n_t___s_e_t;
  16.           XFontStruct ***_f_o_n_t___s_t_r_u_c_t___l_i_s_t___r_e_t_u_r_n;
  17.           char ***_f_o_n_t___n_a_m_e___l_i_s_t___r_e_t_u_r_n;
  18.  
  19.        char *XBaseFontNameListOfFontSet(_f_o_n_t___s_e_t)
  20.          XFontSet _f_o_n_t___s_e_t;
  21.  
  22.        char *XLocaleOfFontSet(_f_o_n_t___s_e_t)
  23.          XFontSet _f_o_n_t___s_e_t;
  24.  
  25.        Bool XContextDependentDrawing(_f_o_n_t___s_e_t)
  26.          XFontSet _f_o_n_t___s_e_t;
  27.  
  28.        Bool XContextualDrawing(_f_o_n_t___s_e_t)
  29.          XFontSet _f_o_n_t___s_e_t;
  30.  
  31.        Bool XDirectionalDependentDrawing(_f_o_n_t___s_e_t)
  32.          XFontSet _f_o_n_t___s_e_t;
  33.  
  34. AARRGGUUMMEENNTTSS
  35.        _f_o_n_t___s_e_t     Specifies the font set.
  36.  
  37.        _f_o_n_t___n_a_m_e___l_i_s_t___r_e_t_u_r_n
  38.          Returns the list of font names.
  39.  
  40.        _f_o_n_t___s_t_r_u_c_t___l_i_s_t___r_e_t_u_r_n
  41.          Returns the list of font structs.
  42.  
  43. DDEESSCCRRIIPPTTIIOONN
  44.        The _X_F_o_n_t_s_O_f_F_o_n_t_S_e_t function returns a list of one or more
  45.        _X_F_o_n_t_S_t_r_u_c_t_s and font names for the fonts used by the Xmb
  46.        and Xwc layers for the given font set.  A list of pointers
  47.        to the _X_F_o_n_t_S_t_r_u_c_t structures is returned to
  48.        font_struct_list_return.     A list of pointers to null-
  49.        terminated, fully specified font name strings in the
  50.        locale of the font set is returned to
  51.        font_name_list_return.  The font_name_list order corre-
  52.        sponds to the font_struct_list order.  The number of
  53.        _X_F_o_n_t_S_t_r_u_c_t structures and font names is returned as the
  54.        value of the function.
  55.  
  56.        Because it is not guaranteed that a given character will
  57.        be imaged using a single font glyph, there is no provision
  58.        for mapping a character or default string to the font
  59.        properties, font ID, or direction hint for the font for
  60.        the character.  The client may access the _X_F_o_n_t_S_t_r_u_c_t list
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XFontsOfFontSet(3X11)      XLIB FUNCTIONS    XFontsOfFontSet(3X11)
  71.  
  72.  
  73.        to obtain these values for all the fonts currently in use.
  74.  
  75.        Xlib does not guarantee that fonts are loaded from the
  76.        server at the creation of an _X_F_o_n_t_S_e_t.  Xlib may choose to
  77.        cache font data, loading it only as needed to draw text or
  78.        compute text dimensions.     Therefore, existence of the
  79.        per_char metrics in the _X_F_o_n_t_S_t_r_u_c_t structures in the
  80.        _X_F_o_n_t_S_t_r_u_c_t_S_e_t is undefined.  Also, note that all proper-
  81.        ties in the _X_F_o_n_t_S_t_r_u_c_t structures are in the STRING
  82.        encoding.
  83.  
  84.        The _X_F_o_n_t_S_t_r_u_c_t and font name lists are owned by Xlib and
  85.        should not be modified or freed by the client.  They will
  86.        be freed by a call to _X_F_r_e_e_F_o_n_t_S_e_t with the associated
  87.        _X_F_o_n_t_S_e_t.  Until freed, their contents will not be modi-
  88.        fied by Xlib.
  89.  
  90.        The _X_B_a_s_e_F_o_n_t_N_a_m_e_L_i_s_t_O_f_F_o_n_t_S_e_t function returns the origi-
  91.        nal base font name list supplied by the client when the
  92.        _X_F_o_n_t_S_e_t was created.  A null-terminated string containing
  93.        a list of comma-separated font names is returned as the
  94.        value of the function.  White space may appear immediately
  95.        on either side of separating commas.
  96.  
  97.        If _X_C_r_e_a_t_e_F_o_n_t_S_e_t obtained an XLFD name from the font
  98.        properties for the font specified by a non-XLFD base name,
  99.        the _X_B_a_s_e_F_o_n_t_N_a_m_e_L_i_s_t_O_f_F_o_n_t_S_e_t function will return the
  100.        XLFD name instead of the non-XLFD base name.
  101.  
  102.        The base font name list is owned by Xlib and should not be
  103.        modified or freed by the client.     It will be freed by a
  104.        call to _X_F_r_e_e_F_o_n_t_S_e_t with the associated _X_F_o_n_t_S_e_t.  Until
  105.        freed, its contents will not be modified by Xlib.
  106.  
  107.        The _X_L_o_c_a_l_e_O_f_F_o_n_t_S_e_t function returns the name of the
  108.        locale bound to the specified _X_F_o_n_t_S_e_t, as a null-
  109.        terminated string.
  110.  
  111.        The returned locale name string is owned by Xlib and
  112.        should not be modified or freed by the client.  It may be
  113.        freed by a call to _X_F_r_e_e_F_o_n_t_S_e_t with the associated
  114.        _X_F_o_n_t_S_e_t.  Until freed, it will not be modified by Xlib.
  115.  
  116.        The _X_C_o_n_t_e_x_t_D_e_p_e_n_d_e_n_t_D_r_a_w_i_n_g function returns _T_r_u_e if the
  117.        drawing functions implement implicit text directionality
  118.        or if text drawn with the font_set might include context-
  119.        dependent drawing; otherwise, it returns _F_a_l_s_e.
  120.  
  121.        The _X_C_o_n_t_e_x_t_u_a_l_D_r_a_w_i_n_g function returns _T_r_u_e if text drawn
  122.        with the font set might include context-dependent drawing;
  123.        otherwise, it returns _F_a_l_s_e.
  124.  
  125.        The _X_D_i_r_e_c_t_i_o_n_a_l_D_e_p_e_n_d_e_n_t_D_r_a_w_i_n_g function returns _T_r_u_e if
  126.        the drawing functions implement implicit text
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. XFontsOfFontSet(3X11)      XLIB FUNCTIONS    XFontsOfFontSet(3X11)
  137.  
  138.  
  139.        directionality; otherwise, it returns _F_a_l_s_e.
  140.  
  141. SSEEEE AALLSSOO
  142.        XCreateFontSet(3X11), XCreateOM(3X11), XCreateOC(3X11),
  143.        XExtentsOfFontSet(3X11), XFontSetExtents(3X11)
  144.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196. X Version 11           Release 6.1                3
  197.  
  198.  
  199.