|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1706 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1706.
Report 1706 Actions
Problem Report Number 1706 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0489 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard X Window System Applications Interface Certification Program The Open Brand certification program Test Suite VSW version 5.0.1 Test Identification Xlib14/XBaseFontNameListOfFontSet 1 Problem Summary PG4W.00095 This IR claims that XT_FONTPATH should be set by each test. Problem Text
The problem occurs because the fontpath is never set to XT_FONTPATH
for some of the Xlib14 tests. For Xlib9 tests that deal with fonts,
tet_startup(), which is called at the beginning of a Test Case, is set
to font_startup(), which does set the fontpath to XT_FONTPATH, by calling
setxtfontpath() (code for both functions is in vsw5/src/lib/startup.c).
A quick grep through the Xlib9 tests gives:
Xlib9/frfntinf/Test.c:void (*tet_startup)() = fontstartup;
Xlib9/frfntnms/Test.c:void (*tet_startup)() = fontstartup;
Xlib9/gtfntprprt/Test.c:void (*tet_startup)() = fontstartup;
Xlib9/ldfnt/Test.c:void (*tet_startup)() = fontstartup;
Xlib9/ldqryfnt/Test.c:void (*tet_startup)() = fontstartup;
Xlib9/lstfnts/Test.c:void (*tet_startup)() = fontstartup;
Xlib9/lstfntswth/Test.c:void (*tet_startup)() = fontstartup;
Xlib9/qryfnt/Test.c:void (*tet_startup)() = fontstartup;
Xlib9/qrytxtex16/Test.c:void (*tet_startup)() = fontstartup;
Xlib9/qrytxtextn/Test.c:void (*tet_startup)() = fontstartup;
However, for the failing Xlib14 tests, tet_startup() is set to
localestartup() or startup(), neither of which sets the fontpath.
bfnlofs/Test.c:void (*tet_startup)() = localestartup;
condd/Test.c:void (*tet_startup)() = localestartup;
crfset/Test.c:void (*tet_startup)() = localestartup;
crtic/Test.c:void (*tet_startup)() = localestartup;
desic/Test.c:void (*tet_startup)() = localestartup;
dispim/Test.c:void (*tet_startup)() = localestartup;
exofset/Test.c:void (*tet_startup)() = localestartup;
fltrevnt/Test.c:void (*tet_startup)() = localestartup;
fntofnts/Test.c:void (*tet_startup)() = localestartup;
freefs/Test.c:void (*tet_startup)() = localestartup;
gtimvls/Test.c:void (*tet_startup)() = localestartup;
imofic/Test.c:void (*tet_startup)() = localestartup;
loffs/Test.c:void (*tet_startup)() = localestartup;
mbdistr/Test.c:void (*tet_startup)() = localestartup;
mbdstr/Test.c:void (*tet_startup)() = localestartup;
mbdtext/Test.c:void (*tet_startup)() = localestartup;
mblstr/Test.c:void (*tet_startup)() = localestartup;
mbtesc/Test.c:void (*tet_startup)() = localestartup;
mbtext/Test.c:void (*tet_startup)() = localestartup;
mbtpcex/Test.c:void (*tet_startup)() = localestartup;
vcnlist/Test.c:void (*tet_startup)() = localestartup;
wcdistr/Test.c:void (*tet_startup)() = localestartup;
wcdstr/Test.c:void (*tet_startup)() = localestartup;
wcdtext/Test.c:void (*tet_startup)() = localestartup;
wclustr/Test.c:void (*tet_startup)() = localestartup;
wctesc/Test.c:void (*tet_startup)() = localestartup;
wctpcex/Test.c:void (*tet_startup)() = localestartup;
wctxtex/Test.c:void (*tet_startup)() = localestartup;
void
localestartup()
{
startup();
if (Dsp == (Display *)0)
return;
localesave();
}
startup() does the basic initialization of the test. Changing
this to:
void
localestartup()
{
startup();
if (Dsp == (Display *)0)
return;
#ifdef BUGFIX
setxtfontpath();
#endif /* BUGFIX */
localesave();
}
causes the fontpath errors to go away.
Other changes needed are setting tet_startup() to fontstartup()
for XGetICValues and XSetICValues tests (these just use the default
startup function startup()), done by adding:
SET startup fontstartup
SET cleanup fontcleanup
to vsw5/tset/Xlib14/sicvals/sicvals.m and
vsw5/tset/Xlib14/gticvals/gticvals.m just before the first assertion.
When We ran a few of the Tests in the debugger, putting a breakpoint
in XSetFontPath, the Test didn't stop. Also, tried putting a line
in to print the fontpath, and it printed the default fontpath, not
the value of XT_FONTPATH.
The vswrpt entries for the failures are listed below.
SECTION: Xlib14
TEST CASE: XBaseFontNameListOfFontSet
TEST PURPOSE #1
Assertion XBaseFontNameListOfFontSet-1.(C)
If the implementation is X11R5 or later: Given a font set,
XBaseFontNameListOfFontSet, returns the name of the base
font name list used when the XFontSet was created.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XBaseFontNameListOfFontSet to get the
METH: base font name, this name should be the same name supplied to the
METH: XCreateFontSet call.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XContextDependentDrawing
TEST PURPOSE #1
Assertion XContextDependentDrawing-1.(C)
If the implementation is X11R5 or later: Given a font set,
XContextDependentDrawing returns True if text drawn with the
fontset, font_set, could include context-dependent drawing.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XContextDependentDrawing to see if the
METH: text can include context-dependent drawing.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XCreateFontSet
TEST PURPOSE #1
Assertion XCreateFontSet-1.(C)
If the implementation is X11R5 or later: A call to
XCreateFontSet shall create a font set for the specified
display. The font set is bound to the current locale when
XCreateFontSet is called.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XCreateIC
TEST PURPOSE #1
Assertion XCreateIC-1.(C)
If the implementation is X11R5 or later: A call to
XCreateIC shall open an input context, ic, to the input
method server im
METH:
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
1 FAIL
TEST CASE: XDestroyIC
TEST PURPOSE #1
Assertion XDestroyIC-1.(C)
If the implementation is X11R5 or later: A call to
XDestroyIC shall destroy the input context, ic, to the input
method server.
METH: There is not a good way to test XDestroyIC. We rely on capturing any
METH: errors from the server during calls to XDestroyIC. Loop through all
METH: the input method styles for all the locales, creating and destroying
METH: Input Contexts.
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
1 FAIL
TEST CASE: XExtentsOfFontSet
TEST PURPOSE #1
Assertion XExtentsOfFontSet-1.(C)
If the implementation is X11R5 or later: XExtentsOfFontSet
shall return the maximum extents structure of a given
fontset.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XExtentsOfFontSet to get the max ink extents
METH: and the max lobal logical extents. Check to make sure the extents
METH: are always positive.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XFontsOfFontSet
TEST PURPOSE #1
Assertion XFontsOfFontSet-1.(C)
If the implementation is X11R5 or later: Given a font set,
XFontsOfFontSet, shall return a list of XFontStruct
structures and full font names for the Xmb and Xwc layers.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XFontsOfFontSet to obtain the font structures
METH: and the font names. Check that font structures and font names returned
METH: are non-null.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XFreeFontSet
TEST PURPOSE #1
Assertion XFreeFontSet-1.(C)
If the implementation is X11R5 or later: A call to
XFreeFontSet shall free a font set for the specified
display. The font set is bound to the current locale when
XFreeFontSet is called.
METH: For every Locale specified by the user in the configuration file,
create a font set and then free it, using XFreeFontSet.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XGetICValues
TEST PURPOSE #1
Assertion XGetICValues-1.(C)
If the implementation is X11R5 or later: A call to
XGetICValues shall fetch the values specified by ic_names
into the variable ic_val associated with the input context,
ic. XICValues returns NULL if no error occured, otherwise it
returns a pointer to the first argument that could not be
set.
METH: For all locales, create an input method and for all supported styles
METH: create an input context, then fetch the general ic values.
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
1 FAIL
TEST PURPOSE #2
Assertion XGetICValues-2.(C)
If the implementation is X11R5 or later: A call to
XGetICValues shallfetch the values specified by ic_names
into the variable ic_val associated with the input context,
ic. XICValues returns NULL if no error occured, otherwise it
returns a pointer to the first argument that could not be
set.
METH: For all locales, create an input method and for all supported styles
METH: create an input context, then fetch the preedit ic values.
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
2 FAIL
TEST PURPOSE #3
Assertion XGetICValues-3.(C)
If the implementation is X11R5 or later: A call to
XGetICValues shall fetch the values specified by ic_names
into the variable ic_val associated with the input context,
ic. XICValues returns NULL if no error occured, otherwise it
returns a pointer to the first argument that could not be
set.
METH: For all locales, create an input method and for all supported styles
METH: create an input context, then fetch the status ic values.
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
3 FAIL
TEST CASE: XIMOfIC
TEST PURPOSE #1
Assertion XIMOfIC-1.(C)
If the implementation is X11R5 or later: A call to XIMOfIC
shall return the input method, im of the input context, ic
which was used to create the ic.
METH: Loop through all the input method styles for all the locales, create an
METH: input context, call XIMOfIC and check to see if this is the same input
METH: method that was used for creating the input context.
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
1 FAIL
TEST CASE: XLocaleOfFontSet
TEST PURPOSE #1
Assertion XLocaleOfFontSet-1.(C)
If the implementation is X11R5 or later: Given a font set
XLocaleOfFontSet shall return the name of the locale to
which it is bound.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XLocaleOfFontSet to get the locale, this name
METH: should be the same name as the current locale.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XmbDrawImageString
TEST PURPOSE #1
Assertion XmbDrawImageString-1.(C)
If the implementation is X11R5 or later: A call to
XmbDrawImageString shall first fill the destination
rectangle with the background pixel value and next draw a
string of 8-bit characters, selected from the gc's font,
using the foreground pixel value.
METH: Reverse foreground and background pixel values in the gc.
METH: For each font
METH: Set the font into the gc.
METH: Draw string
METH: Pixel verify.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XmbDrawString
TEST PURPOSE #1
Assertion XmbDrawString-1.(C)
If the implementation is X11R5 or later: On a call to
XmbDrawString the image of each 8-bit character in the
string, as defined by the fontset shall be treated as an
additional mask for a fill operation on the drawable.
METH: For each locales, for all fontsets, draw all the characters between
METH: 0&255, by setting up strings to point to groups of characters at a
time. METH: Pixmap verify. Only one Visual will be tested since XDrawString
is being METH: tested elsewhere.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XmbDrawText
TEST PURPOSE #1
Assertion XmbDrawText-1.(C)
If the implementation is X11R5 or later: On a call to
XmbDrawText each of the text items, specifying a string
chars of 8-bit characters from a font with interstring
spacing given by delta, shall be drawn in turn.
METH: For all locales, for all fontsets, draw all the
METH: characters between 0&255 in all the xtest fonts, by setting
METH: up XTestItem structs to point to groups of characters at a time.
METH: Pixmap verify. Only one visual will be tested, since XDrawText is
METH: being tested elsewhere and XmbDrawText eventually calls the same
METH: routines as XDrawText.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XmbLookupString
TEST PURPOSE #1
Assertion XmbLookupString-1.(C)
If the implementation is X11R5 or later: A call to
XmbLookupString shall return the string from the input
method specified in the buffer_return argument. If no string
is returned the buffer_return argument shall remain
unchanged. The KeySym into which the KeyCode from the event
was mapped shall be returned in the keysym_return argument
if it is non-NULL and the status_return argument indicates
that a KeySym was returned. If both a string and a KeySym
are returned, the KeySym value does not necessarily
correspond to the string returned. XmbLookupString returns
the length of the string in bytes. The text is returned in
the encoding of the locale bound to the input method of the
specified input context, ic.
METH: For all locales, create an input method and
METH: for all supported styles create an input context,
METH: Obtain the keycode corresponding to the keysym XK_b using
XKeysymToKeycode.
METH: Obtain the string and keysym bound to that keycode using
XmbLookupString.
METH: Verify that the returned string is correct.
METH: Obtain the string and keysym bound to that keycode using
XmbLookupString with state = ShiftMask.
METH: Verify that the returned string is correct.
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
1 FAIL
TEST CASE: XmbTextEscapement
TEST PURPOSE #1
Assertion XmbTextEscapement-1.(C)
If the implementation is X11R5 or later: XmbTextEscapement
shall return the escapement of a string for a given fontset.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XmbTextEscapement to get the number of
METH: pixels to the origin of the next character in the primary draw
direction. REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XmbTextExtents
TEST PURPOSE #1
Assertion XmbTextExtents-1.(C)
If the implementation is X11R5 or later: XmbTextExtents
shall return the overall ink and logical extents in addtion
to the escapement of a string for a given fontset.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XmbTextExtents to get the overall ink and
METH: logical extents of a string. Check the extents to make sure that they
areMETH: positive and that the ink extents are equal to or smaller than the
METH: logical extents.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XmbTextPerCharExtents
TEST PURPOSE #1
Assertion XmbTextPerCharExtents-1.(C)
If the implementation is X11R5 or later:
XmbTextPerCharExtents shall return the ink and logical
extents of each character in addition to the overall extents
of a string.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XmbTextPerCharExtents to get the extents per
METH: character and the overall extents. Check to make sure the extents are
METH: valid. Also make sure the overall extents are equal to the combined
METH: extents of the characters. Make sure the returned status is good.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XSetICValues
TEST PURPOSE #1
Assertion XSetICValues-1.(C)
If the implementation is X11R5 or later: A call to
XSetICValues shall set the values specified by ic_names into
the variable ic_val associated with the input context, ic.
XICValues returns NULL if no error occured, otherwise it
returns a pointer to the first argument that could not be
set.
METH: For all locales, create an input method and for all supported styles
METH: create an input context, for all generic ic values set the value, then
METH: get the value to see if was set correctly.
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
1 FAIL
TEST PURPOSE #2
Assertion XSetICValues-2.(C)
If the implementation is X11R5 or later: A call to
XSetICValues shall set the values specified by ic_names into
the variable ic_val associated with the input context, ic.
XICValues returns NULL if no error occured, otherwise it
returns a pointer to the first argument that could not be
set.
METH: For all locales, create an input method and for all supported styles
METH: create an input context, for all the preedit ic values set the value,
thenMETH: get the value to see if was set correctly.
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
2 FAIL
TEST PURPOSE #3
Assertion XSetICValues-3.(C)
If the implementation is X11R5 or later: A call to
XSetICValues shall set the values specified by ic_names into
the variable ic_val associated with the input context, ic.
XICValues returns NULL if no error occured, otherwise it
returns a pointer to the first argument that could not be
set.
METH: For all locales, create an input method and for all supported styles
METH: create an input context, for all the status ic values set the value,
then
METH: get the value to see if was set correctly.
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
3 FAIL
TEST PURPOSE #4
Assertion XSetICValues-4.(C)
If the implementation is X11R5 or later: When an input
context is created a StatusStartCallback callback is called
and when the input context is destroyed or when it loses
focus a StatusDoneCallback callback is called.
METH: For all locales, create an input method and
METH: for status callback style, create an input context,
METH: check the counter to see if the StatusStartCallback has been called,
METH: check the counter to see if the StatusDoneCallback has been called.
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
4 FAIL
TEST CASE: XVaCreateNestedList
TEST PURPOSE #2
Assertion XVaCreateNestedList-2.(C)
If the implementation is X11R5 or later: A call to
XVaCreateNestedList shall build and return a pair wise list
of parameters from an variable length list.
METH: For all locales, build a variable list of one element,
METH: verify that a nested list is returned.
TEST: XVaCreateNestedList succeeds with one member
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
2 FAIL
TEST PURPOSE #3
Assertion XVaCreateNestedList-3.(C)
If the implementation is X11R5 or later: A call to
XVaCreateNestedList shall build and return a list of
parameters from an variable length list.
METH: For all locales, build a variable list of two elements,
METH: verify that a nested list is returned.
TEST: XVaCreateNestedList succeeds with two members
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
3 FAIL
TEST PURPOSE #4
Assertion XVaCreateNestedList-4.(C)
If the implementation is X11R5 or later: A call to
XVaCreateNestedList shall build and return a list of
parameters from an variable length list.
METH: For all locales, build a variable list of one element, and use this
METH: argument as a parameter to a second nested list, verify that a nested
METH: list is returned.
TEST: XVaCreateNestedList succeeds with a VaNestedList as parameter
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
4 FAIL
TEST CASE: XwcDrawImageString
TEST PURPOSE #1
Assertion XwcDrawImageString-1.(C)
If the implementation is X11R5 or later: A call to
XwcDrawImageString shall first fill the destination
rectangle with the background pixel value and next draw a
wstring of 8-bit characters, selected from the gc's font,
using the foreground pixel value.
METH: Reverse foreground and background pixel values in the gc.
METH: For each font
METH: Set the font into the gc.
METH: Draw string
METH: Pixel verify.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XwcDrawString
TEST PURPOSE #1
Assertion XwcDrawString-1.(C)
If the implementation is X11R5 or later: On a call to
XwcDrawString the image of each 8-bit character in the
wstring, as defined by the fontset shall be treated as an
additional mask for a fill operation on the drawable.
METH: For each locales, for all fontsets, draw all the characters between
METH: 0&255, by setting up strings to point to groups of characters at a
time. METH: Pixmap verify. Only one Visual will be tested since XDrawString
is being METH: tested elsewhere.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XwcDrawText
TEST PURPOSE #1
Assertion XwcDrawText-1.(C)
If the implementation is X11R5 or later: On a call to
XwcDrawText each of the text items, specifying a string
chars of 8-bit characters from a font with interstring
spacing given by delta, shall be drawn in turn.
METH: For all locales, for all fontsets, draw all the
METH: characters between 0&255 in all the xtest fonts, by setting
METH: up XTestItem structs to point to groups of characters at a time.
METH: Pixmap verify. Only one visual will be tested, since XDrawText is
METH: being tested elsewhere and XwcDrawText eventually calls the same
METH: routines as XDrawText.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XwcLookupString
TEST PURPOSE #1
Assertion XwcLookupString-1.(C)
If the implementation is X11R5 or later: A call to
XwcLookupString shall return the string from the input
method specified in the buffer_return argument. If no string
is returned the buffer_return argument shall remain
unchanged. The KeySym into which the KeyCode from the event
was mapped shall be returned in the keysym_return argument
if it is non-NULL and the status_return argument indicates
that a KeySym was returned. If both a string and a KeySym
are returned, the KeySym value does not necessarily
correspond to the string returned. XwcLookupString returns
the length of the string in bytes. The text is returned in
the encoding of the locale bound to the input method of the
specified input context, ic.
METH: For all locales, create an input method and
METH: for all supported styles create an input context,
METH: Obtain the keycode corresponding to the keysym XK_b using
XKeysymToKeycode.
METH: Obtain the string and keysym bound to that keycode using
XwcLookupString.
METH: Verify that the returned string is correct.
METH: Obtain the string and keysym bound to that keycode using
XwcLookupString with state = ShiftMask.
METH: Verify that the returned string is correct.
REPORT: Unable to open fontset, -vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: Couldn't setup input styles.
1 FAIL
TEST CASE: XwcTextEscapement
TEST PURPOSE #1
Assertion XwcTextEscapement-1.(C)
If the implementation is X11R5 or later: XwcTextEscapement
shall return the escapement of a string for a given fontset.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XwcTextEscapement to get the number of
METH: pixels to the origin of the next character in the primary draw
direction. REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XwcTextPerCharExtents
TEST PURPOSE #1
Assertion XwcTextPerCharExtents-1.(C)
If the implementation is X11R5 or later:
XwcTextPerCharExtents shall return the ink and logical
extents of each character in addition to the overall extents
of a string.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XwcTextPerCharExtents to get the extents per
METH: character and the overall extents. Check to make sure the extents are
METH: valid. Also make sure the overall extents are equal to the combined
METH: extents of the characters. Make sure the returned status is good.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
TEST CASE: XwcTextExtents
TEST PURPOSE #1
Assertion XwcTextExtents-1.(C)
If the implementation is X11R5 or later: XwcTextExtents
shall return the overall ink and logical extents in addtion
to the escapement of a string for a given fontset.
METH: For every Locale specified by the user in the configuration file,
create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XwcTextExtents to get the overall ink and
METH: logical extents of a string. Check the extents to make sure that they
areMETH: positive and that the ink extents are equal to or smaller than the
METH: logical extents.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAIL
Test Output
SECTION: Xlib14
TEST CASE: XBaseFontNameListOfFontSet
TEST PURPOSE #1
Assertion XBaseFontNameListOfFontSet-1.(C)
If the implementation is X11R5 or later: Given a font set,
XBaseFontNameListOfFontSet, returns the name of the base
font name list used when the XFontSet was created.
METH: For every Locale specified by the user in the configuration
METH: file, create
METH: each of the base font sets specified by the user, by calling
METH: XCreateFontSet, then call XBaseFontNameListOfFontSet to get the
METH: base font name, this name should be the same name supplied to
METH: the XCreateFontSet call.
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-120-75-75-*-*-*-*
REPORT: XCreateFontSet unable to create fontset,
-vsw-*-*-r-normal--*-180-75-75-*-*-*-*
1 FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
The test suite must be configured to recognize the additional fonts by
default. This is described in section 3.9, "Compiling and Installing
the Test Fonts." It states,
The manner in which fonts should be compiled and installed for
any particular X server is system dependent. Some sample
instructions are given here which may be useful on many
systems. These may not be appropriate for any given system,
or they may need adaptation to work prperly and are provided
only as a guide.
In many cases, the following procedure will add the test fonts the
X Server being used (the setting of DISPLAY).
$ xlsfonts | grep vsw
$ xset fp+ $TET_ROOT/vsw5/fonts
$ xset fp rehash
$ xlsfonts | grep vsw
-vsw-courier-bold-r-normal--0-0-75-75-m-0-iso8859-1
-vsw-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
-vsw-courier-medium-r-normal--0-0-75-75-m-0-iso8859-1
-vsw-courier-medium-r-normal--18-180-75-75-m-110-iso8859-1
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1706
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority