graphite: Update to latest Git, switch to MIT license
Graphite is now available under: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later We pick MIT which is the same as Godot's main license for simplicity. Remove define to skip deprecation warnings, upstream fixed those.
This commit is contained in:
parent
ba4bd7f009
commit
0ee6ffb257
|
@ -218,7 +218,7 @@ License: glslang
|
||||||
Files: ./thirdparty/graphite/
|
Files: ./thirdparty/graphite/
|
||||||
Comment: Graphite engine
|
Comment: Graphite engine
|
||||||
Copyright: 2010, SIL International
|
Copyright: 2010, SIL International
|
||||||
License: MPL-2.0
|
License: Expat
|
||||||
|
|
||||||
Files: ./thirdparty/harfbuzz/
|
Files: ./thirdparty/harfbuzz/
|
||||||
Comment: HarfBuzz text shaping library
|
Comment: HarfBuzz text shaping library
|
||||||
|
|
|
@ -223,9 +223,6 @@ if env["builtin_graphite"] and freetype_enabled and env["graphite"]:
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
if env.msvc: # Not our business to fix.
|
|
||||||
env_graphite.Append(CCFLAGS=["-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS"])
|
|
||||||
|
|
||||||
lib = env_graphite.add_library("graphite_builtin", thirdparty_sources)
|
lib = env_graphite.add_library("graphite_builtin", thirdparty_sources)
|
||||||
thirdparty_obj += lib
|
thirdparty_obj += lib
|
||||||
|
|
||||||
|
|
|
@ -217,8 +217,8 @@ Files extracted from upstream source:
|
||||||
## graphite
|
## graphite
|
||||||
|
|
||||||
- Upstream: https://github.com/silnrsi/graphite
|
- Upstream: https://github.com/silnrsi/graphite
|
||||||
- Version: 1.3.14 (80c52493ef42e6fe605a69dcddd2a691cd8a1380, 2021)
|
- Version: 1.3.14 (27572742003b93dc53dc02c01c237b72c6c25f54, 2022)
|
||||||
- License: MPL-2.0
|
- License: MIT
|
||||||
|
|
||||||
Files extracted from upstream source:
|
Files extracted from upstream source:
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,5 @@
|
||||||
/* GRAPHITE2 LICENSING
|
/* SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later */
|
||||||
|
/* Copyright 2010, SIL International, All rights reserved. */
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms
|
|
||||||
of the Mozilla Public License (http://mozilla.org/MPL) or the GNU
|
|
||||||
General Public License, as published by the Free Software Foundation,
|
|
||||||
either version 2 of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "graphite2/Types.h"
|
#include "graphite2/Types.h"
|
||||||
|
|
|
@ -1,29 +1,5 @@
|
||||||
/* GRAPHITE2 LICENSING
|
/* SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later */
|
||||||
|
/* Copyright 2010, SIL International, All rights reserved. */
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms
|
|
||||||
of the Mozilla Public License (http://mozilla.org/MPL) or the GNU
|
|
||||||
General Public License, as published by the Free Software Foundation,
|
|
||||||
either version 2 of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <graphite2/Types.h>
|
#include <graphite2/Types.h>
|
||||||
|
|
|
@ -1,29 +1,5 @@
|
||||||
/* GRAPHITE2 LICENSING
|
/* SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later */
|
||||||
|
/* Copyright 2010, SIL International, All rights reserved. */
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms
|
|
||||||
of the Mozilla Public License (http://mozilla.org/MPL) or the GNU
|
|
||||||
General Public License, as published by the Free Software Foundation,
|
|
||||||
either version 2 of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "graphite2/Types.h"
|
#include "graphite2/Types.h"
|
||||||
|
|
|
@ -1,29 +1,5 @@
|
||||||
/* GRAPHITE2 LICENSING
|
/* SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later */
|
||||||
|
/* Copyright 2010, SIL International, All rights reserved. */
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms
|
|
||||||
of the Mozilla Public License (http://mozilla.org/MPL) or the GNU
|
|
||||||
General Public License, as published by the Free Software Foundation,
|
|
||||||
either version 2 of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "inc/Main.h"
|
#include "inc/Main.h"
|
||||||
#include "inc/CmapCache.h"
|
#include "inc/CmapCache.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
// This class represents loaded graphite stack machine code. It performs
|
// This class represents loaded graphite stack machine code. It performs
|
||||||
// basic sanity checks, on the incoming code to prevent more obvious problems
|
// basic sanity checks, on the incoming code to prevent more obvious problems
|
||||||
// from crashing graphite.
|
// from crashing graphite.
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2015, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2015, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#include "inc/Decompressor.h"
|
#include "inc/Decompressor.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "graphite2/Segment.h"
|
#include "graphite2/Segment.h"
|
||||||
#include "inc/CmapCache.h"
|
#include "inc/CmapCache.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
#include "inc/Main.h"
|
#include "inc/Main.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2012, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2012, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "inc/FileFace.h"
|
#include "inc/FileFace.h"
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "inc/Face.h"
|
#include "inc/Face.h"
|
||||||
#include "inc/Font.h"
|
#include "inc/Font.h"
|
||||||
#include "inc/GlyphCache.h"
|
#include "inc/GlyphCache.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2012, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2012, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "graphite2/Font.h"
|
#include "graphite2/Font.h"
|
||||||
|
|
||||||
#include "inc/Main.h"
|
#include "inc/Main.h"
|
||||||
|
@ -44,12 +21,18 @@ namespace
|
||||||
// variable length structures.
|
// variable length structures.
|
||||||
|
|
||||||
template<typename W>
|
template<typename W>
|
||||||
class _glat_iterator : public std::iterator<std::input_iterator_tag, std::pair<sparse::key_type, sparse::mapped_type> >
|
class _glat_iterator
|
||||||
{
|
{
|
||||||
unsigned short key() const { return uint16(be::peek<W>(_e) + _n); }
|
unsigned short key() const { return uint16(be::peek<W>(_e) + _n); }
|
||||||
unsigned int run() const { return be::peek<W>(_e+sizeof(W)); }
|
unsigned int run() const { return be::peek<W>(_e+sizeof(W)); }
|
||||||
void advance_entry() { _n = 0; _e = _v; be::skip<W>(_v,2); }
|
void advance_entry() { _n = 0; _e = _v; be::skip<W>(_v,2); }
|
||||||
public:
|
public:
|
||||||
|
using iterator_category = std::input_iterator_tag;
|
||||||
|
using value_type = std::pair<sparse::key_type, sparse::mapped_type>;
|
||||||
|
using difference_type = ptrdiff_t;
|
||||||
|
using pointer = value_type *;
|
||||||
|
using reference = value_type &;
|
||||||
|
|
||||||
_glat_iterator(const void * glat=0) : _e(reinterpret_cast<const byte *>(glat)), _v(_e+2*sizeof(W)), _n(0) {}
|
_glat_iterator(const void * glat=0) : _e(reinterpret_cast<const byte *>(glat)), _v(_e+2*sizeof(W)), _n(0) {}
|
||||||
|
|
||||||
_glat_iterator<W> & operator ++ () {
|
_glat_iterator<W> & operator ++ () {
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "inc/GlyphFace.h"
|
#include "inc/GlyphFace.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2012, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2012, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "inc/Segment.h"
|
#include "inc/Segment.h"
|
||||||
#include "graphite2/Font.h"
|
#include "graphite2/Font.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "inc/Main.h"
|
#include "inc/Main.h"
|
||||||
#include "inc/Endian.h"
|
#include "inc/Endian.h"
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "inc/Main.h"
|
#include "inc/Main.h"
|
||||||
#include "inc/debug.h"
|
#include "inc/debug.h"
|
||||||
#include "inc/Endian.h"
|
#include "inc/Endian.h"
|
||||||
|
@ -194,7 +171,7 @@ bool Pass::readPass(const byte * const pass_start, size_t pass_length, size_t su
|
||||||
m_cPConstraint = vm::Machine::Code(true, pcCode, pcCode + pass_constraint_len,
|
m_cPConstraint = vm::Machine::Code(true, pcCode, pcCode + pass_constraint_len,
|
||||||
precontext[0], be::peek<uint16>(sort_keys), *m_silf, face, PASS_TYPE_UNKNOWN);
|
precontext[0], be::peek<uint16>(sort_keys), *m_silf, face, PASS_TYPE_UNKNOWN);
|
||||||
if (e.test(!m_cPConstraint, E_OUTOFMEM)
|
if (e.test(!m_cPConstraint, E_OUTOFMEM)
|
||||||
|| e.test(m_cPConstraint.status() != Code::loaded, m_cPConstraint.status() + E_CODEFAILURE))
|
|| e.test(m_cPConstraint.status() != Code::loaded, int(m_cPConstraint.status()) + E_CODEFAILURE))
|
||||||
return face.error(e);
|
return face.error(e);
|
||||||
face.error_context(face.error_context() - 1);
|
face.error_context(face.error_context() - 1);
|
||||||
}
|
}
|
||||||
|
@ -266,8 +243,8 @@ bool Pass::readRules(const byte * rule_map, const size_t num_entries,
|
||||||
r->constraint = new (m_codes+n*2-1) vm::Machine::Code(true, rc_begin, rc_end, r->preContext, r->sort, *m_silf, face, pt, &prog_pool_free);
|
r->constraint = new (m_codes+n*2-1) vm::Machine::Code(true, rc_begin, rc_end, r->preContext, r->sort, *m_silf, face, pt, &prog_pool_free);
|
||||||
|
|
||||||
if (e.test(!r->action || !r->constraint, E_OUTOFMEM)
|
if (e.test(!r->action || !r->constraint, E_OUTOFMEM)
|
||||||
|| e.test(r->action->status() != Code::loaded, r->action->status() + E_CODEFAILURE)
|
|| e.test(r->action->status() != Code::loaded, int(r->action->status()) + E_CODEFAILURE)
|
||||||
|| e.test(r->constraint->status() != Code::loaded, r->constraint->status() + E_CODEFAILURE)
|
|| e.test(r->constraint->status() != Code::loaded, int(r->constraint->status()) + E_CODEFAILURE)
|
||||||
|| e.test(!r->constraint->immutable(), E_MUTABLECCODE))
|
|| e.test(!r->constraint->immutable(), E_MUTABLECCODE))
|
||||||
return face.error(e);
|
return face.error(e);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "inc/Position.h"
|
#include "inc/Position.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "inc/UtfCodec.h"
|
#include "inc/UtfCodec.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include "graphite2/Segment.h"
|
#include "graphite2/Segment.h"
|
||||||
#include "inc/debug.h"
|
#include "inc/debug.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "inc/Segment.h"
|
#include "inc/Segment.h"
|
||||||
#include "inc/Slot.h"
|
#include "inc/Slot.h"
|
||||||
#include "inc/Silf.h"
|
#include "inc/Silf.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2011, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2011, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "inc/Sparse.h"
|
#include "inc/Sparse.h"
|
||||||
#include "inc/bits.h"
|
#include "inc/bits.h"
|
||||||
|
|
|
@ -1,39 +1,14 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
/*
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
/*--------------------------------------------------------------------*//*:Ignore this sentence.
|
|
||||||
|
|
||||||
File: TtfUtil.cpp
|
|
||||||
Responsibility: Alan Ward
|
Responsibility: Alan Ward
|
||||||
Last reviewed: Not yet.
|
Last reviewed: Not yet.
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Implements the methods for TtfUtil class. This file should remain portable to any C++
|
Implements the methods for TtfUtil class. This file should remain portable to any C++
|
||||||
environment by only using standard C++ and the TTF structurs defined in Tt.h.
|
environment by only using standard C++ and the TTF structurs defined in Tt.h.
|
||||||
-------------------------------------------------------------------------------*//*:End Ignore*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************************************
|
/***********************************************************************************************
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "inc/UtfCodec.h"
|
#include "inc/UtfCodec.h"
|
||||||
//using namespace graphite2;
|
//using namespace graphite2;
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
// This call threaded interpreter implmentation for machine.h
|
// This call threaded interpreter implmentation for machine.h
|
||||||
// Author: Tim Eves
|
// Author: Tim Eves
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
// This direct threaded interpreter implmentation for machine.h
|
// This direct threaded interpreter implmentation for machine.h
|
||||||
// Author: Tim Eves
|
// Author: Tim Eves
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "graphite2/Segment.h"
|
#include "graphite2/Segment.h"
|
||||||
#include "inc/CharInfo.h"
|
#include "inc/CharInfo.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "graphite2/Font.h"
|
#include "graphite2/Font.h"
|
||||||
#include "inc/Face.h"
|
#include "inc/Face.h"
|
||||||
#include "inc/FileFace.h"
|
#include "inc/FileFace.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "graphite2/Font.h"
|
#include "graphite2/Font.h"
|
||||||
#include "inc/Face.h"
|
#include "inc/Face.h"
|
||||||
#include "inc/FeatureMap.h"
|
#include "inc/FeatureMap.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "graphite2/Font.h"
|
#include "graphite2/Font.h"
|
||||||
#include "inc/Font.h"
|
#include "inc/Font.h"
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
#include "graphite2/Log.h"
|
#include "graphite2/Log.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "graphite2/Segment.h"
|
#include "graphite2/Segment.h"
|
||||||
#include "inc/UtfCodec.h"
|
#include "inc/UtfCodec.h"
|
||||||
#include "inc/Segment.h"
|
#include "inc/Segment.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#include "graphite2/Segment.h"
|
#include "graphite2/Segment.h"
|
||||||
#include "inc/Segment.h"
|
#include "inc/Segment.h"
|
||||||
#include "inc/Slot.h"
|
#include "inc/Slot.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "inc/Main.h"
|
#include "inc/Main.h"
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "inc/Main.h"
|
#include "inc/Main.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
// This class represents loaded graphite stack machine code. It performs
|
// This class represents loaded graphite stack machine code. It performs
|
||||||
// basic sanity checks, on the incoming code to prevent more obvious problems
|
// basic sanity checks, on the incoming code to prevent more obvious problems
|
||||||
// from crashing graphite.
|
// from crashing graphite.
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "inc/List.h"
|
#include "inc/List.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2015, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2015, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2015, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2015, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
@ -1,30 +1,5 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2011, SIL International, All rights reserved.
|
||||||
Copyright 2011, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Description:
|
Description:
|
||||||
A set of fast template based decoders for decoding values of any C integer
|
A set of fast template based decoders for decoding values of any C integer
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2013, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2013, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// numbers are explicitly assigned for future proofing
|
// numbers are explicitly assigned for future proofing
|
||||||
|
@ -38,7 +15,7 @@ public:
|
||||||
operator bool() { return (_e != 0); }
|
operator bool() { return (_e != 0); }
|
||||||
int error() { return _e; }
|
int error() { return _e; }
|
||||||
void error(int e) { _e = e; }
|
void error(int e) { _e = e; }
|
||||||
bool test(bool pr, int err) { return (_e = int(pr) * err); }
|
bool test(bool pr, int err) { return (_e = pr ? err : 0); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int _e;
|
int _e;
|
||||||
|
@ -56,7 +33,7 @@ enum errcontext {
|
||||||
EC_ARULEMAP = 9 // in Silf %d, pass %d, state %d
|
EC_ARULEMAP = 9 // in Silf %d, pass %d, state %d
|
||||||
};
|
};
|
||||||
|
|
||||||
enum errors {
|
enum error {
|
||||||
E_OUTOFMEM = 1, // Out of memory
|
E_OUTOFMEM = 1, // Out of memory
|
||||||
E_NOGLYPHS = 2, // There are no glyphs in the font
|
E_NOGLYPHS = 2, // There are no glyphs in the font
|
||||||
E_BADUPEM = 3, // The units per em for the font is bad (0)
|
E_BADUPEM = 3, // The units per em for the font is bad (0)
|
||||||
|
@ -125,7 +102,7 @@ enum errors {
|
||||||
E_BADJUMPCODE = 65, // Code jumps past end of op codes
|
E_BADJUMPCODE = 65, // Code jumps past end of op codes
|
||||||
E_CODEBADARGS = 66, // Code arguments exhausted
|
E_CODEBADARGS = 66, // Code arguments exhausted
|
||||||
E_CODENORETURN = 67, // Missing return type op code at end of code
|
E_CODENORETURN = 67, // Missing return type op code at end of code
|
||||||
E_CODENESTEDCTXT = 68, // Nested context encountered in code
|
E_CODENESTEDCTXT = 68, // Nested context encountered in code
|
||||||
// Compression errors
|
// Compression errors
|
||||||
E_BADSCHEME = 69,
|
E_BADSCHEME = 69,
|
||||||
E_SHRINKERFAILED = 70,
|
E_SHRINKERFAILED = 70,
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "inc/Main.h"
|
#include "inc/Main.h"
|
||||||
#include "inc/FeatureVal.h"
|
#include "inc/FeatureVal.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2012, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2012, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
//#include "inc/FeatureMap.h"
|
//#include "inc/FeatureMap.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "graphite2/Font.h"
|
#include "graphite2/Font.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2012, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2012, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "inc/Main.h"
|
#include "inc/Main.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// designed to have a limited subset of the std::vector api
|
// designed to have a limited subset of the std::vector api
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
// This general interpreter interface.
|
// This general interpreter interface.
|
||||||
// Author: Tim Eves
|
// Author: Tim Eves
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <graphite2/Segment.h>
|
#include <graphite2/Segment.h>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
namespace graphite2 {
|
namespace graphite2 {
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2011, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2011, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "inc/Main.h"
|
#include "inc/Main.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "graphite2/Font.h"
|
#include "graphite2/Font.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "graphite2/Types.h"
|
#include "graphite2/Types.h"
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2011, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2011, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
|
@ -1,39 +1,14 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
/*--------------------------------------------------------------------*//*:Ignore this sentence.
|
/*
|
||||||
|
|
||||||
File: TtfTypes.h
|
|
||||||
Responsibility: Tim Eves
|
Responsibility: Tim Eves
|
||||||
Last reviewed: Not yet.
|
Last reviewed: Not yet.
|
||||||
|
|
||||||
Description:
|
Description:
|
||||||
Provides types required to represent the TTF basic types.
|
Provides types required to represent the TTF basic types.
|
||||||
-------------------------------------------------------------------------------*//*:End Ignore*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
//**********************************************************************************************
|
//**********************************************************************************************
|
||||||
|
|
|
@ -1,39 +1,13 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
Copyright 2010, SIL International
|
/*
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
/*--------------------------------------------------------------------*//*:Ignore this sentence.
|
|
||||||
|
|
||||||
File: TtfUtil.h
|
|
||||||
Responsibility: Alan Ward
|
Responsibility: Alan Ward
|
||||||
Last reviewed: Not yet.
|
Last reviewed: Not yet.
|
||||||
|
|
||||||
Description:
|
Description:
|
||||||
Utility class for handling TrueType font files.
|
Utility class for handling TrueType font files.
|
||||||
----------------------------------------------------------------------------------------------*/
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2011, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2011, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2012, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2012, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
namespace graphite2
|
namespace graphite2
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2011, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2011, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
// debug.h
|
// debug.h
|
||||||
//
|
//
|
||||||
// Created on: 22 Dec 2011
|
// Created on: 22 Dec 2011
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2011, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2011, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
// JSON pretty printer for graphite font debug output logging.
|
// JSON pretty printer for graphite font debug output logging.
|
||||||
// Created on: 15 Dec 2011
|
// Created on: 15 Dec 2011
|
||||||
// Author: Tim Eves
|
// Author: Tim Eves
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
// This file will be pulled into and integrated into a machine implmentation
|
// This file will be pulled into and integrated into a machine implmentation
|
||||||
// DO NOT build directly
|
// DO NOT build directly
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2010, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2010, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
#pragma once
|
#pragma once
|
||||||
// This file will be pulled into and integrated into a machine implmentation
|
// This file will be pulled into and integrated into a machine implmentation
|
||||||
// DO NOT build directly and under no circumstances ever #include headers in
|
// DO NOT build directly and under no circumstances ever #include headers in
|
||||||
|
|
|
@ -1,29 +1,6 @@
|
||||||
/* GRAPHITE2 LICENSING
|
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
|
||||||
|
// Copyright 2011, SIL International, All rights reserved.
|
||||||
|
|
||||||
Copyright 2011, SIL International
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published
|
|
||||||
by the Free Software Foundation; either version 2.1 of License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should also have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library in the file named "LICENSE".
|
|
||||||
If not, write to the Free Software Foundation, 51 Franklin Street,
|
|
||||||
Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
|
|
||||||
internet at http://www.fsf.org/licenses/lgpl.html.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms of the
|
|
||||||
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
|
|
||||||
License, as published by the Free Software Foundation, either version 2
|
|
||||||
of the License or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
// JSON debug logging
|
// JSON debug logging
|
||||||
// Author: Tim Eves
|
// Author: Tim Eves
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue