Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/tesseract/src/ccmain/fixspace.h @ 3:2c135c81b16c
MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:44:09 +0200 |
| parents | b50eed0cc0ef |
| children |
comparison
equal
deleted
inserted
replaced
| 0:6015a75abc2d | 3:2c135c81b16c |
|---|---|
| 1 /****************************************************************** | |
| 2 * File: fixspace.h (Formerly fixspace.h) | |
| 3 * Description: Implements a pass over the page res, exploring the alternative | |
| 4 * spacing possibilities, trying to use context to improve the | |
| 5 * word spacing | |
| 6 * Author: Phil Cheatle | |
| 7 * Created: Thu Oct 21 11:38:43 BST 1993 | |
| 8 * | |
| 9 * (C) Copyright 1993, Hewlett-Packard Ltd. | |
| 10 ** Licensed under the Apache License, Version 2.0 (the "License"); | |
| 11 ** you may not use this file except in compliance with the License. | |
| 12 ** You may obtain a copy of the License at | |
| 13 ** http://www.apache.org/licenses/LICENSE-2.0 | |
| 14 ** Unless required by applicable law or agreed to in writing, software | |
| 15 ** distributed under the License is distributed on an "AS IS" BASIS, | |
| 16 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 17 ** See the License for the specific language governing permissions and | |
| 18 ** limitations under the License. | |
| 19 * | |
| 20 **********************************************************************/ | |
| 21 | |
| 22 #ifndef FIXSPACE_H | |
| 23 #define FIXSPACE_H | |
| 24 | |
| 25 namespace tesseract { | |
| 26 | |
| 27 class WERD_RES; | |
| 28 class WERD_RES_LIST; | |
| 29 | |
| 30 void initialise_search(WERD_RES_LIST &src_list, WERD_RES_LIST &new_list); | |
| 31 void transform_to_next_perm(WERD_RES_LIST &words); | |
| 32 void fixspace_dbg(WERD_RES *word); | |
| 33 | |
| 34 } // namespace tesseract | |
| 35 | |
| 36 #endif |
