/[public]/psiconv/trunk/program/psiconv/gen_html.c
ViewVC logotype

Diff of /psiconv/trunk/program/psiconv/gen_html.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 53 Revision 58
19 19
20#include "config.h" 20#include "config.h"
21#include <stdio.h> 21#include <stdio.h>
22#include <string.h> 22#include <string.h>
23#include <stdlib.h> 23#include <stdlib.h>
24#include "data.h" 24#include "psiconv/data.h"
25#include "list.h" 25#include "psiconv/list.h"
26#include "gen.h" 26#include "gen.h"
27#include "psiconv.h" 27#include "psiconv.h"
28 28
29/* This determines for each character how it is displayed */ 29/* This determines for each character how it is displayed */
30static const char *char_table[0x100] = 30static const char *char_table[0x100] =
91 This one is specific for the base point of HTML */ 91 This one is specific for the base point of HTML */
92psiconv_character_layout gen_base_char(const psiconv_font font, 92psiconv_character_layout gen_base_char(const psiconv_font font,
93 const psiconv_color color, 93 const psiconv_color color,
94 const psiconv_color back_color) 94 const psiconv_color back_color)
95{ 95{
96 struct psiconv_character_layout base_char_struct = 96 struct psiconv_character_layout_s base_char_struct =
97 { 97 {
98 NULL, /* color */ 98 NULL, /* color */
99 NULL, /* back_color */ 99 NULL, /* back_color */
100 13.0, /* font_size */ 100 13.0, /* font_size */
101 psiconv_bool_false, /* italic */ 101 psiconv_bool_false, /* italic */
353 } 353 }
354 fputs("</BODY>\n</HTML>\n",of); 354 fputs("</BODY>\n</HTML>\n",of);
355 psiconv_free_character_layout(base_char); 355 psiconv_free_character_layout(base_char);
356} 356}
357 357
358static struct psiconv_fileformat ff = 358static struct psiconv_fileformat_s ff =
359 { 359 {
360 "HTML3", 360 "HTML3",
361 "HTML 3.2, not verified so probably not completely compliant", 361 "HTML 3.2, not verified so probably not completely compliant",
362 &psiconv_gen_html 362 &psiconv_gen_html
363 }; 363 };

Legend:
Removed from v.53  
changed lines
  Added in v.58

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26