summaryrefslogtreecommitdiff
path: root/src/xutf8/ucs2fontmap.c.mini
blob: 89ed7a8b08e5f6eee8740bca03370c15d31b12e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Author: Jean-Marc Lienher ( http://oksid.ch )
 * Copyright 2000-2003 by O'ksi'D.
 *
 * This library is free software. Distribution and use rights are outlined in
 * the file "COPYING" which should have been included with this file.  If this
 * file is missing or damaged, see the license at:
 *
 *     https://www.fltk.org/COPYING.php
 *
 * Please see the following page on how to report bugs and issues:
 *
 *     https://www.fltk.org/bugs.php
 */

int ucs2fontmap(char *s, unsigned long ucs, int enc)
{
    s[0] = (char) ((ucs & 0xFF00) >> 8);
    s[1] = (char) (ucs & 0xFF);
    return 0;
}


int encoding_number(const char *enc)
{
  return 0;
}

const char *encoding_name(int num)
{
    return "iso10646-1";
};