LGPL headers and svn footers compliance (STR#2085)

todo: FLTK style indent + code compliance.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano
2009-03-13 22:43:43 +00:00
parent 97f5e51ed8
commit 70531631bb
13 changed files with 204 additions and 282 deletions
+16 -29
View File
@@ -1,37 +1,24 @@
* Author: Jean-Marc Lienher ( http://oksid.ch )
* X11 UTF-8 text drawing functions. * Copyright 2000-2003 by O'ksi'D.
* *
* Copyright (c) 2000,2001 by O'ksi'D. * This library is free software; you can redistribute it and/or
* All rights reserved. * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
* *
* Redistribution and use in source and binary forms, with or without * This library is distributed in the hope that it will be useful,
* modification, are permitted provided that the following conditions * but WITHOUT ANY WARRANTY; without even the implied warranty of
* are met: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
* *
* Redistributions of source code must retain the above copyright * You should have received a copy of the GNU Library General Public
* notice, this list of conditions and the following disclaimer. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
* *
* Redistributions in binary form must reproduce the above copyright * Please report all bugs and problems on the following page:
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* Neither the name of O'ksi'D nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* http://www.fltk.org/str.php
lcUniConv directory: lcUniConv directory:
+3
View File
@@ -127,3 +127,6 @@ XUtf8Toupper(
return table[ucs]; return table[ucs];
} }
/*
* End of "$Id$".
*/
+4
View File
@@ -318,3 +318,7 @@ KeySymToUcs4(KeySym keysym)
else else
return 0; return 0;
} }
/*
* End of "$Id$".
*/
+3
View File
@@ -80,3 +80,6 @@ XUtf8IsRightToLeft(
return 0; return 0;
} }
/*
* End of "$Id$".
*/
+3
View File
@@ -87,3 +87,6 @@ XUtf8IsNonSpacing(
return 0; return 0;
} }
/*
* End of "$Id$".
*/
+21 -29
View File
@@ -1,38 +1,27 @@
/****************************************************************************** /* "$Id: $"
Copyright (c) 2002 by O'ksi'D
* All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Author: Jean-Marc Lienher ( http://oksid.ch )
* modification, are permitted provided that the following conditions * Copyright 2000-2003 by O'ksi'D.
* are met:
* *
* Redistributions of source code must retain the above copyright * This library is free software; you can redistribute it and/or
* notice, this list of conditions and the following disclaimer. * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
* *
* Redistributions in binary form must reproduce the above copyright * This library is distributed in the hope that it will be useful,
* notice, this list of conditions and the following disclaimer in the * but WITHOUT ANY WARRANTY; without even the implied warranty of
* documentation and/or other materials provided with the distribution. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
* *
* Neither the name of O'ksi'D nor the names of its contributors * You should have received a copy of the GNU Library General Public
* may be used to endorse or promote products derived from this software * License along with this library; if not, write to the Free Software
* without specific prior written permission. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
* *
* Please report all bugs and problems on the following page:
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * http://www.fltk.org/str.php
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************/
#define KEYSYM2UCS_INCLUDED #define KEYSYM2UCS_INCLUDED
@@ -49,3 +38,6 @@ long XKeysymToUcs(KeySym keysym)
#endif // X11 only #endif // X11 only
/*
* End of "$Id$".
*/
+23 -33
View File
@@ -1,44 +1,31 @@
/******************************************************************************* * $Id: $ /* "$Id: $"
* *
* UTF-8 X test program (It contains MINIMAL code to support XIM !!!) * Author: Jean-Marc Lienher ( http://oksid.ch )
* Copyright 2000-2003 by O'ksi'D.
* *
* Copyright (c) 2000-2002 O'ksi'D * This library is free software; you can redistribute it and/or
* All rights reserved. * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
* *
* Redistribution and use in source and binary forms, with or without * This library is distributed in the hope that it will be useful,
* modification, are permitted provided that the following conditions * but WITHOUT ANY WARRANTY; without even the implied warranty of
* are met: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
* *
* Redistributions of source code must retain the above copyright * You should have received a copy of the GNU Library General Public
* notice, this list of conditions and the following disclaimer. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
* *
* Redistributions in binary form must reproduce the above copyright * Please report all bugs and problems on the following page:
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* *
* Neither the name of O'ksi'D nor the names of its contributors * http://www.fltk.org/str.php
* may be used to endorse or promote products derived from this software */
* without specific prior written permission.
*
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*
* Author : Jean-Marc Lienher ( http://oksid.ch )
*
******************************************************************************/
/* /*
* UTF-8 X test program (It contains MINIMAL code to support XIM !!!)
*
To test it do : To test it do :
kinput2 -canna kinput2 -canna
@@ -297,3 +284,6 @@ int main(int argc, char**argv)
return 0; return 0;
} }
/*
* End of "$Id$".
*/
+23 -33
View File
@@ -1,44 +1,31 @@
/******************************************************************************* * $Id: $ /* "$Id: $"
* *
* UTF-8 X test program * Author: Jean-Marc Lienher ( http://oksid.ch )
* Copyright 2000-2003 by O'ksi'D.
* *
* Copyright (c) 2002 O'ksi'D * This library is free software; you can redistribute it and/or
* All rights reserved. * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
* *
* Redistribution and use in source and binary forms, with or without * This library is distributed in the hope that it will be useful,
* modification, are permitted provided that the following conditions * but WITHOUT ANY WARRANTY; without even the implied warranty of
* are met: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
* *
* Redistributions of source code must retain the above copyright * You should have received a copy of the GNU Library General Public
* notice, this list of conditions and the following disclaimer. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
* *
* Redistributions in binary form must reproduce the above copyright * Please report all bugs and problems on the following page:
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* *
* Neither the name of O'ksi'D nor the names of its contributors * http://www.fltk.org/str.php
* may be used to endorse or promote products derived from this software */
* without specific prior written permission.
*
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*
* Author : Jean-Marc Lienher ( http://oksid.ch )
*
******************************************************************************/
/* /*
* UTF-8 X test program
*
To test it do : To test it do :
kinput2 -canna kinput2 -canna
@@ -240,3 +227,6 @@ int main(int argc, char**argv)
return 0; return 0;
} }
/*
* End of "$Id$".
*/
+21 -30
View File
@@ -1,39 +1,27 @@
/****************************************************************************** /* "$Id: $"
Copyright (c) 2000-2002 by O'ksi'D
* All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Author: Jean-Marc Lienher ( http://oksid.ch )
* modification, are permitted provided that the following conditions * Copyright 2000-2003 by O'ksi'D.
* are met:
* *
* Redistributions of source code must retain the above copyright * This library is free software; you can redistribute it and/or
* notice, this list of conditions and the following disclaimer. * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
* *
* Redistributions in binary form must reproduce the above copyright * This library is distributed in the hope that it will be useful,
* notice, this list of conditions and the following disclaimer in the * but WITHOUT ANY WARRANTY; without even the implied warranty of
* documentation and/or other materials provided with the distribution. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
* *
* Neither the name of O'ksi'D nor the names of its contributors * You should have received a copy of the GNU Library General Public
* may be used to endorse or promote products derived from this software * License along with this library; if not, write to the Free Software
* without specific prior written permission. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
* *
* Please report all bugs and problems on the following page:
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * http://www.fltk.org/str.php
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
Author: Jean-Marc Lienher ( http://oksid.ch )
******************************************************************************/
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
@@ -380,3 +368,6 @@ int encoding_number(const char *enc)
return -1; return -1;
}; };
/*
* End of "$Id$".
*/
+21 -30
View File
@@ -1,39 +1,27 @@
/****************************************************************************** /* "$Id: $"
Copyright 2000 by O'ksi'D
* All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Author: Jean-Marc Lienher ( http://oksid.ch )
* modification, are permitted provided that the following conditions * Copyright 2000-2003 by O'ksi'D.
* are met:
* *
* Redistributions of source code must retain the above copyright * This library is free software; you can redistribute it and/or
* notice, this list of conditions and the following disclaimer. * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
* *
* Redistributions in binary form must reproduce the above copyright * This library is distributed in the hope that it will be useful,
* notice, this list of conditions and the following disclaimer in the * but WITHOUT ANY WARRANTY; without even the implied warranty of
* documentation and/or other materials provided with the distribution. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
* *
* Neither the name of O'ksi'D nor the names of its contributors * You should have received a copy of the GNU Library General Public
* may be used to endorse or promote products derived from this software * License along with this library; if not, write to the Free Software
* without specific prior written permission. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
* *
* Please report all bugs and problems on the following page:
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * http://www.fltk.org/str.php
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
Author: Jean-Marc Lienher ( http://oksid.ch )
******************************************************************************/
int ucs2fontmap(char *s, unsigned long ucs, int enc) int ucs2fontmap(char *s, unsigned long ucs, int enc)
{ {
@@ -53,3 +41,6 @@ const char *encoding_name(int num)
return "iso10646-1"; return "iso10646-1";
}; };
/*
* End of "$Id$".
*/
+21 -28
View File
@@ -1,37 +1,27 @@
/****************************************************************************** /* "$Id: $"
Copyright (c) 2000-2002 by O'ksi'D
* All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Author: Jean-Marc Lienher ( http://oksid.ch )
* modification, are permitted provided that the following conditions * Copyright 2000-2003 by O'ksi'D.
* are met:
* *
* Redistributions of source code must retain the above copyright * This library is free software; you can redistribute it and/or
* notice, this list of conditions and the following disclaimer. * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
* *
* Redistributions in binary form must reproduce the above copyright * This library is distributed in the hope that it will be useful,
* notice, this list of conditions and the following disclaimer in the * but WITHOUT ANY WARRANTY; without even the implied warranty of
* documentation and/or other materials provided with the distribution. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
* *
* Neither the name of O'ksi'D nor the names of its contributors * You should have received a copy of the GNU Library General Public
* may be used to endorse or promote products derived from this software * License along with this library; if not, write to the Free Software
* without specific prior written permission. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
* *
* Please report all bugs and problems on the following page:
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * http://www.fltk.org/str.php
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************/
#if !defined(WIN32) && !defined(__APPLE__) #if !defined(WIN32) && !defined(__APPLE__)
@@ -444,3 +434,6 @@ XUtf8LookupString(
#endif // X11 only #endif // X11 only
/*
* End of "$Id$".
*/
+25 -37
View File
@@ -1,41 +1,30 @@
/* "$Id: $"
*
* Author: Jean-Marc Lienher ( http://oksid.ch )
* Copyright 2000-2003 by O'ksi'D.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems on the following page:
*
* http://www.fltk.org/str.php
*/
/* /*
* "$Id: $"
*
* Unicode to UTF-8 conversion functions. * Unicode to UTF-8 conversion functions.
*
* Copyright (c) 2000,2001 by O'ksi'D.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* Neither the name of O'ksi'D nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*
* Author: Jean-Marc Lienher ( http://oksid.ch )
*/ */
#if !defined(WIN32) && !defined(__APPLE__) #if !defined(WIN32) && !defined(__APPLE__)
@@ -256,4 +245,3 @@ XFastConvertUtf8ToUcs(
/* /*
* End of "$Id: $". * End of "$Id: $".
*/ */
+20 -33
View File
@@ -1,43 +1,31 @@
/* /* "$Id: $"
* "$Id: $"
* *
* X11 UTF-8 text drawing functions. * Author: Jean-Marc Lienher ( http://oksid.ch )
* Copyright 2000-2003 by O'ksi'D.
* *
* Copyright (c) 2000-2002 by O'ksi'D. * This library is free software; you can redistribute it and/or
* All rights reserved. * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
* *
* Redistribution and use in source and binary forms, with or without * This library is distributed in the hope that it will be useful,
* modification, are permitted provided that the following conditions * but WITHOUT ANY WARRANTY; without even the implied warranty of
* are met: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
* *
* Redistributions of source code must retain the above copyright * You should have received a copy of the GNU Library General Public
* notice, this list of conditions and the following disclaimer. * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
* *
* Redistributions in binary form must reproduce the above copyright * Please report all bugs and problems on the following page:
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* *
* Neither the name of O'ksi'D nor the names of its contributors * http://www.fltk.org/str.php
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*
* Author: Jean-Marc Lienher ( http://oksid.ch )
*/ */
/*
* X11 UTF-8 text drawing functions.
*/
#if !defined(WIN32) && !defined(__APPLE__) #if !defined(WIN32) && !defined(__APPLE__)
#include "../../FL/Xutf8.h" #include "../../FL/Xutf8.h"
@@ -932,4 +920,3 @@ XFreeUtf8FontStruct(
/* /*
* End of "$Id: $". * End of "$Id: $".
*/ */