diff options
author | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
commit | 1f457376b478257b88d4a857f5ec1b6155442dd7 (patch) | |
tree | 2a06a60551dea362cf8cb0cb0ba66c78608717c4 /support/dktools/f2lto.h | |
parent | ac690ca29ad5bf8a5203a65fd6252f7b564f4727 (diff) |
CTAN sync 202009200303
Diffstat (limited to 'support/dktools/f2lto.h')
-rw-r--r-- | support/dktools/f2lto.h | 88 |
1 files changed, 9 insertions, 79 deletions
diff --git a/support/dktools/f2lto.h b/support/dktools/f2lto.h index b2d5b54a63..c219597a66 100644 --- a/support/dktools/f2lto.h +++ b/support/dktools/f2lto.h @@ -1,36 +1,14 @@ /* - WARNING: This file was generated by dkct. - Changes you make here will be lost if dkct is run again! - You should modify the original source and run dkct on it. - Original source: f2lto.ctr +Copyright (C) 2013-2020, Dirk Krause +SPDX-License-Identifier: BSD-3-Clause */ /* -Copyright (C) 2013-2017, Dirk Krause - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above opyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. -* Neither the name of the author nor the names of contributors may be used - to endorse or promote products derived from this software without specific - prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. -IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + WARNING: This file was generated by the dkct program (see + http://dktools.sourceforge.net/ for details). + Changes you make here will be lost if dkct is run again! + You should modify the original source and run dkct on it. + Original source: f2lto.ctr */ /** @file f2lto.h Header file for the f2lto module. @@ -70,7 +48,6 @@ f2l_tool_register_font( /** Start LaTeX part of EPS+TEX or PDF+TEX. @param of Output file. @param job Job structure. - @param drw Drawing structure. @param shortOutFile Short output file name of EPS or PDF file. @param iFonts Font storage iterator. @param nFonts Total number of fonts. @@ -79,7 +56,6 @@ void f2l_tool_start_tex_part( FILE *of, f2l_job_t *job, - dk3_fig_drawing_t *drw, char const *shortOutFile, dk3_sto_it_t *iFonts, unsigned long nFonts @@ -88,7 +64,6 @@ f2l_tool_start_tex_part( /** Start LaTeX part of EPS+TEX, PDF+TEX or PGF. @param of Output file. @param job Job structure. - @param drw Drawing structure. @param shortOutFile Short output file name of EPS or PDF file. @param iFonts Font storage iterator. @param nFonts Total number of fonts. @@ -98,7 +73,6 @@ void f2l_tool_start_tex_part_with_picture( FILE *of, f2l_job_t *job, - dk3_fig_drawing_t *drw, char const *shortOutFile, dk3_sto_it_t *iFonts, unsigned long nFonts, @@ -163,22 +137,6 @@ f2l_tool_text_object( unsigned long nFonts ); -/** Write commands to choose a font. - @param of Output file. - @param job Job structure. - @param drw Drawing structure. - @param obj Text object. - @param nFonts Total number of PS fonts. -*/ -void -f2l_tool_font_selection( - FILE *of, - f2l_job_t *job, - dk3_fig_drawing_t *drw, - dk3_fig_obj_t *obj, - unsigned long nFonts -); - /** Write string to LaTeX output. @param of Output file. @param txt String, ISO-LATIN-1 encoded. @@ -189,26 +147,6 @@ f2l_tool_tex_string( char const *txt ); -/** Write instruction to select a font by features to LaTeX output. - @param of Output file. - @param job Job structure. - @param drw Drawing structure. - @param obj Text object. - @param fontSize Font size. - @param fontFeatures Font features. - @param useFamily Flag: Choose font family. -*/ -void -f2l_tool_font_select_by_features( - FILE *of, - f2l_job_t *job, - dk3_fig_drawing_t *drw, - dk3_fig_obj_t *obj, - double fontSize, - int fontFeatures, - int useFamily -); - /** Create image file data. @param filename File name. @param app Application structure for diagnostics. @@ -243,29 +181,22 @@ f2l_tool_set_exit_status(f2l_job_t *job, int exval); /** Begin LaTeX document (write document preamble and begin document line). @param of Output file. @param job Job structure. - @param drw Drawing structure. */ void f2l_tool_begin_latex_document( FILE *of, - f2l_job_t *job, - dk3_fig_drawing_t *drw + f2l_job_t *job ); /** End LaTeX document (write end document line). @param of Output file. - @param job Job structure. - @param drw Drawing structure. */ void f2l_tool_end_latex_document( - FILE *of, - f2l_job_t *job, - dk3_fig_drawing_t *drw + FILE *of ); /** Find drawing direction for embedded image. - @param job Job structure. @param drw Drawing structure. @param obj Current object to process. @param ec Pointer to error code variable, may be NULL. @@ -273,7 +204,6 @@ f2l_tool_end_latex_document( */ int f2lto_find_draw_direction( - f2l_job_t *job, dk3_fig_drawing_t *drw, dk3_fig_obj_t *obj, int *ec |