diff -Naur opvpnull.orig/opvp_common.h opvpnull/opvp_common.h --- opvpnull.orig/opvp_common.h 2006-02-18 21:09:43.000000000 -0800 +++ opvpnull/opvp_common.h 2006-07-17 20:09:37.000000000 -0700 @@ -33,20 +33,16 @@ #define _PDAPI_VERSION_MINOR_ 2 /* Return Values */ -#define OPVP_OK 0 /* エラーは -1 */ +#define OPVP_OK 0 /* error is -1 */ /* Error Codes */ -#define OPVP_FATALERROR -101 /* ライブラリ内で復旧不可能なエラーが */ - /* 発生した */ -#define OPVP_BADREQUEST -102 /* 関数を呼んではいけないところで、 */ - /* 呼んでしまった */ -#define OPVP_BADCONTEXT -103 /* パラメータのプリコンテキストが不正 */ -#define OPVP_NOTSUPPORTED -104 /* パラメータの組み合わせにより、 */ - /* ドライバもしくはプリンタが */ - /* 扱えないリクエストが行なわれた */ -#define OPVP_JOBCANCELED -105 /* 何らかの要因により、ジョブを */ - /* キャンセルしている */ -#define OPVP_PARAMERROR -106 /* パラメータの組み合わせが不正 */ +#define OPVP_FATALERROR -101 /* unrecoverable error occurred within the */ + /* library */ +#define OPVP_BADREQUEST -102 /* invalid function parameters */ +#define OPVP_BADCONTEXT -103 /* bad parameter precontext */ +#define OPVP_NOTSUPPORTED -104 /* printer or driver request not supported */ +#define OPVP_JOBCANCELED -105 /* job cancelled */ +#define OPVP_PARAMERROR -106 /* illegal parameter combination */ /* Info params */ #define OPVP_INFO_PREFIX "updf:" @@ -80,13 +76,13 @@ } OPVP_Point; typedef struct _OPVP_Rectangle { - OPVP_Point p0; /* 開始点 */ - OPVP_Point p1; /* 終了点 */ + OPVP_Point p0; /* start point */ + OPVP_Point p1; /* end point */ } OPVP_Rectangle; typedef struct _OPVP_RoundRectangle { - OPVP_Point p0; /* 開始点 */ - OPVP_Point p1; /* 終了点 */ + OPVP_Point p0; /* start point */ + OPVP_Point p1; /* end point */ OPVP_Fix xellipse; OPVP_Fix yellipse; } OPVP_RoundRectangle; @@ -192,13 +188,13 @@ } OPVP_Brush; /* Misc. Flags */ -#define OPVP_Arc 0 /* 円弧 */ -#define OPVP_Chord 1 /* 弓形 */ -#define OPVP_Pie 2 /* 扇形 */ -#define OPVP_Clockwise 0 /* 時計方向 */ -#define OPVP_Counterclockwise 1 /* 反時計方向 */ -#define OPVP_PathClose 0 /* Close path upon LinePath */ -#define OPVP_PathOpen 1 /* Do not close path upon LinePath */ +#define OPVP_Arc 0 /* circular arc */ +#define OPVP_Chord 1 /* arch */ +#define OPVP_Pie 2 /* pie section */ +#define OPVP_Clockwise 0 /* clockwise */ +#define OPVP_Counterclockwise 1 /* counter-clockwise */ +#define OPVP_PathClose 0 /* Close path when using LinePath */ +#define OPVP_PathOpen 1 /* Do not close path when using LinePath */ /* CTM */ typedef struct _OPVP_CTM {