vtfontcvt.c (ebe61a781b04a51e0700be7c93f60479ad63de01) | vtfontcvt.c (10ae99ee6a0e5168918d2bba208bcf536edb08f7) |
---|---|
1/* 2 * Copyright (c) 2009, 2014 The FreeBSD Foundation 3 * All rights reserved. 4 * 5 * This software was developed by Ed Schouten under sponsorship from the 6 * FreeBSD Foundation. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 26 unchanged lines hidden (view full) --- 35#include <assert.h> 36#include <err.h> 37#include <stdint.h> 38#include <stdio.h> 39#include <stdlib.h> 40#include <stdbool.h> 41#include <string.h> 42#include <unistd.h> | 1/* 2 * Copyright (c) 2009, 2014 The FreeBSD Foundation 3 * All rights reserved. 4 * 5 * This software was developed by Ed Schouten under sponsorship from the 6 * FreeBSD Foundation. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 26 unchanged lines hidden (view full) --- 35#include <assert.h> 36#include <err.h> 37#include <stdint.h> 38#include <stdio.h> 39#include <stdlib.h> 40#include <stdbool.h> 41#include <string.h> 42#include <unistd.h> |
43#include <lz4.h> |
|
43#include "fnv_hash.h" 44 45#define VFNT_MAPS 4 46#define VFNT_MAP_NORMAL 0 47#define VFNT_MAP_NORMAL_RH 1 48#define VFNT_MAP_BOLD 2 49#define VFNT_MAP_BOLD_RH 3 50 | 44#include "fnv_hash.h" 45 46#define VFNT_MAPS 4 47#define VFNT_MAP_NORMAL 0 48#define VFNT_MAP_NORMAL_RH 1 49#define VFNT_MAP_BOLD 2 50#define VFNT_MAP_BOLD_RH 3 51 |
51extern size_t lz4_compress(void *, void *, size_t, size_t, int); 52 | |
53static unsigned int width = 8, wbytes, height = 16; 54 55struct bbox { 56 unsigned int width; /* pixels */ 57 unsigned int height; 58 int x; /* lower left corner x */ 59 int y; /* lower left corner y */ 60}; --- 990 unchanged lines hidden --- | 52static unsigned int width = 8, wbytes, height = 16; 53 54struct bbox { 55 unsigned int width; /* pixels */ 56 unsigned int height; 57 int x; /* lower left corner x */ 58 int y; /* lower left corner y */ 59}; --- 990 unchanged lines hidden --- |