w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

encode.c File Reference
#include <stdlib.h>
#include <string.h>
#include "main.h"
#include "l2r_fonts.h"
#include "funct1.h"
#include "encode.h"
#include "encode_tables.h"
#include "chars.h"
Include dependency graph for encode.c:

Go to the source code of this file.

Functions

static void put_breve_char (char c)
 
static void put_acute_char (char c)
 
static void put_cedilla_char (char c)
 
static void put_ring_char (char c)
 
static void put_macron_char (char c)
 
static void put_tilde_char (char c)
 
static void put_dot_char (char c)
 
static void applemac_enc (int index)
 
static void cp437_enc (int index)
 
static void cp850_enc (int index)
 
static void cp852_enc (int index)
 
static void cp865_enc (int index)
 
static void cp1250_enc (int index)
 
static void cp1252_enc (int index)
 
static void decmulti_enc (int index)
 
static void latin1_enc (int index)
 
static void latin2_enc (int index)
 
static void latin3_enc (int index)
 
static void latin4_enc (int index)
 
static void latin5_enc (int index)
 
static void latin9_enc (int index)
 
static void next_enc (int index)
 
static void cp1251_enc (int index)
 
static void cp855_enc (int index)
 
static void cp866_enc (int index)
 
static void koi8r_enc (int index)
 
static void koi8u_enc (int index)
 
static void maccyr_enc (int index)
 
static void macukr_enc (int index)
 
void WriteEightBitChar (char cThis)
 

Function Documentation

◆ applemac_enc()

static void applemac_enc ( int  index)
static

◆ cp1250_enc()

◆ cp1251_enc()

static void cp1251_enc ( int  index)
static

Definition at line 1776 of file encode.c.

References CmdCyrillicStrChar(), cp1251_2_cp1251, index, and s.

Referenced by WriteEightBitChar().

◆ cp1252_enc()

static void cp1252_enc ( int  index)
static

Definition at line 881 of file encode.c.

References cp1252_2_ansi, cp1252_2_sym, fprintRTF(), index, RtfFontNumber(), s, and sym.

Referenced by WriteEightBitChar().

◆ cp437_enc()

static void cp437_enc ( int  index)
static

Definition at line 147 of file encode.c.

References cp437_2_ansi, cp437_2_sym, fprintRTF(), index, RtfFontNumber(), s, and sym.

Referenced by WriteEightBitChar().

◆ cp850_enc()

static void cp850_enc ( int  index)
static

Definition at line 219 of file encode.c.

References cp850_2_ansi, cp850_2_sym, fprintRTF(), index, put_dot_char(), RtfFontNumber(), s, and sym.

Referenced by WriteEightBitChar().

◆ cp852_enc()

◆ cp855_enc()

static void cp855_enc ( int  index)
static

Definition at line 1783 of file encode.c.

References CmdCyrillicStrChar(), cp855_2_cp1251, index, and s.

Referenced by WriteEightBitChar().

◆ cp865_enc()

static void cp865_enc ( int  index)
static

Definition at line 544 of file encode.c.

References cp865_2_ansi, cp865_2_sym, fprintRTF(), index, RtfFontNumber(), s, and sym.

Referenced by WriteEightBitChar().

◆ cp866_enc()

static void cp866_enc ( int  index)
static

Definition at line 1790 of file encode.c.

References CmdCyrillicStrChar(), cp866_2_cp1251, index, and s.

Referenced by WriteEightBitChar().

◆ decmulti_enc()

static void decmulti_enc ( int  index)
static

Definition at line 929 of file encode.c.

References decmulti_2_ansi, decmulti_2_sym, fprintRTF(), index, RtfFontNumber(), s, and sym.

Referenced by WriteEightBitChar().

◆ koi8r_enc()

static void koi8r_enc ( int  index)
static

Definition at line 1797 of file encode.c.

References CmdCyrillicStrChar(), index, koi8r_2_cp1251, and s.

Referenced by WriteEightBitChar().

◆ koi8u_enc()

static void koi8u_enc ( int  index)
static

Definition at line 1804 of file encode.c.

References CmdCyrillicStrChar(), index, koi8u_2_cp1251, and s.

Referenced by WriteEightBitChar().

◆ latin1_enc()

static void latin1_enc ( int  index)
static

Definition at line 1005 of file encode.c.

References fprintRTF(), index, latin1_2_ansi, latin1_2_sym, RtfFontNumber(), s, and sym.

Referenced by WriteEightBitChar().

◆ latin2_enc()

◆ latin3_enc()

static void latin3_enc ( int  index)
static

◆ latin4_enc()

static void latin4_enc ( int  index)
static

◆ latin5_enc()

static void latin5_enc ( int  index)
static

◆ latin9_enc()

static void latin9_enc ( int  index)
static

Definition at line 1675 of file encode.c.

References fprintRTF(), index, latin9_2_ansi, latin9_2_sym, RtfFontNumber(), s, and sym.

Referenced by WriteEightBitChar().

◆ maccyr_enc()

static void maccyr_enc ( int  index)
static

Definition at line 1811 of file encode.c.

References CmdCyrillicStrChar(), index, maccyr_2_cp1251, and s.

Referenced by WriteEightBitChar().

◆ macukr_enc()

static void macukr_enc ( int  index)
static

Definition at line 1818 of file encode.c.

References CmdCyrillicStrChar(), index, macukr_2_cp1251, and s.

Referenced by WriteEightBitChar().

◆ next_enc()

static void next_enc ( int  index)
static

Definition at line 1703 of file encode.c.

References fprintRTF(), index, next_2_ansi, next_2_sym, num, put_dot_char(), put_ring_char(), RtfFontNumber(), s, and sym.

Referenced by WriteEightBitChar().

◆ put_acute_char()

static void put_acute_char ( char  c)
static

Definition at line 45 of file encode.c.

References c, fprintRTF(), and g_field_separator.

Referenced by cp1250_enc(), cp852_enc(), and latin2_enc().

◆ put_breve_char()

static void put_breve_char ( char  c)
static

◆ put_cedilla_char()

static void put_cedilla_char ( char  c)
static

◆ put_dot_char()

static void put_dot_char ( char  c)
static

◆ put_macron_char()

static void put_macron_char ( char  c)
static

Definition at line 67 of file encode.c.

References c, fprintRTF(), and g_field_separator.

Referenced by latin4_enc(), and latin5_enc().

◆ put_ring_char()

static void put_ring_char ( char  c)
static

Definition at line 60 of file encode.c.

References c, fprintRTF(), and g_field_separator.

Referenced by applemac_enc(), cp1250_enc(), cp852_enc(), latin2_enc(), and next_enc().

◆ put_tilde_char()

static void put_tilde_char ( char  c)
static

Definition at line 74 of file encode.c.

References c, fprintRTF(), g_field_separator, num, and RtfFontNumber().

Referenced by latin4_enc().

◆ WriteEightBitChar()