shithub: fnt

RSS feed

3971a4df – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/22 22:12
add otfpriv.h to share stuff with rasterizer

71d16479 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/22 21:55
otfdrawglyf: remove gap parameter

eda59c65 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/21 22:46
increase the tiny vertical gap, apparently a few glyphs still render incorrectly without it

443555e5 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/21 22:01
don't store pixels in FP format, convert as we go

0c863b1c – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/21 21:53
rasterizer: slightly faster

e20b6c64 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/18 22:35
make it build with clang

37fcd307 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/18 20:01
don't codegen where it's not going to work

d792b270 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/18 16:39
make rasterizer a bit faster; special-case obligatory gap to just ε

65d1d12a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/18 12:45
dumpmap: fix a single glyph map

aabdbc15 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/18 12:44
always have a gap of one pixel - a few glyphs still go over the edge

1ad7240c – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/17 23:44
fix cmap subtable format 4 offset calculation

d8004222 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/17 23:28
tests: allow specifying rune as hex/dec number with -r

bae955e0 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/17 22:55
cmap subtable format 13

53590253 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/17 22:43
cmap subtable format 6

83519f11 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/17 22:27
add support for more cmap subtable formats

baa3c241 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/17 20:39
codegen: produce #line directives pointing at otf.[ch].in

a4302059 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/16 22:11
add -R option to only process glyphs representing valid runes

6c44490f – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/16 21:55
implement initial rune->glyph and glyph->rune mapping, add -r option to test it

95df0a43 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/16 19:40
don't dumpmap if redirected to /dev/null

6b622e92 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/16 15:06
allow positive real numbers for ppem

368477b5 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/16 15:04
strip CGLYPH_FL_OVERLAP_COMPOUND out

4dc7878a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/16 14:49
cut off quadratic curves better; don't call fabs

64511aba – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/16 14:35
simpler area equation for straight lines

d42a1703 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/16 14:35
fix contour closing

65146547 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/16 14:35
dump one glyph as a map too

68c2d09c – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/15 22:30
don't bother with pixel values below valid range

2925d4f6 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/15 22:19
separate ARGBEGIN & co into its own file with separate license

9bfaf452 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/15 22:11
combine more testing logic together into one file

0d17a04b – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/15 21:54
fix scaling; add highlight; change filling color

1b381f9e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/15 18:42
add empty pixels fill mode

bdc09059 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/15 17:39
component glyph scaling; proper baseline; guide lines drawing; combine some of the test functionality

1d352256 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/14 21:57
ComponentGlyf reader: fix F2DOT14 parsing

96da9f09 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/14 21:37
fix unused "b" warnings

5877598b – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/14 21:24
no need to store unitsPerEm in each Glyf anymore

c609f963 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/14 20:48
initial component glyph rasterizing

00f3bc7d – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/14 14:01
disambiguate empty glyphs in -G pretty dump

afe9aa1e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/14 13:57
CGLYPH_FL_SIGNED_XY must be visible

0505001c – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/14 13:36
unix: include assert.h

ca4cce3e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/14 13:15
raster: lines: the range is [0,1) not [0,1]

def6bc8a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/14 12:58
raster: use ppem for scaling

c623ba3f – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/14 12:54
plan9: regenerate when otf.[ch].in changed

76cff0a2 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/13 13:51
store Fixed and F2DOT14 as double

c6eb8a20 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/13 13:50
meson: otf.rkt is also a source file

1a1a1f4f – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/13 13:44
better error reporting on POSIX

103afe43 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/13 12:53
fix posix vs plan9 formatting strings when generating code

1f8bdfba – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/12 21:15
fix a few possible gotchas detected by clang analyzer

195e8566 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/12 20:13
move platform-dependent files around

74a12cfe – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/12 20:09
automatically (re)generate otf.[ch]; keep those generated in git for plan 9 as it doesn't run racket

f9bb6363 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/11 23:25
fix and bring back glyph pretty-printing

05750074 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/11 21:27
dump font map when used as -s SIZE -G

29c96c7e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/11 21:13
add a small hack until a correct scaling is implemented

b53bbd5a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/11 16:01
raster: don't compute coefficients from K and L if they are all zero

6bf0a834 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/11 15:35
update readme and add a license

ed8ed23f – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/07/06 17:01
initial implementation of wavelet rasterizer

a65e4461 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/25 19:11
fix glyf parsing, add pretty-printing too

c8e83c81 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/25 11:15
move verbatim C code from gen.rkt to otf.[ch].in

dc095bf8 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/25 00:22
add glyf reading logic (untested)

0e24bab6 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/25 00:21
remove duplicate extra context fields

4c7f4065 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/25 00:20
allow | as bor in expressions

0747dba4 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/25 00:17
loca: add maxp as a dependency (numGlyphs)

103c1331 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/23 22:29
a bit of glyf types

d5219f72 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/23 21:50
a bit more of gvar

b8442cf9 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/23 20:26
define flags as bits and generate enums; allow bitflags comparisons

03431f29 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/23 19:23
add "avar" table

d7abd0aa – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/23 19:22
when a tag is 0, print it as <nil>

acc2272a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/23 17:28
add string parsing; move most manually-written C code to otfpriv.h

542ec066 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/21 20:37
more definitions

d44ae07e – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/21 12:41
fix custom parsing with offset; handle full blown expressions with references as conditionals

48e1da1d – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/20 22:15
DSIG

9cdddf09 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/20 22:08
FFTM

456d0c2f – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/20 22:08
warn about missing parsers

f152a7fb – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/20 21:53
more logic for reading tables with rather peculiar dependencies

0ce46014 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/20 18:17
split definitions out into otf.rkt

63f6a927 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/20 16:03
clean up the macro mess

604208af – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/20 11:55
separate generated code into .c and .h files, move stuff around

720585cc – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/19 21:41
handle offsets; clean up a bit; add more types

207f8c59 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/19 13:25
use Bprint; finish ctxpushrange/ctxpoprange/ctxreadn

74504c05 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/18 21:48
mkattr: protect against "hex" used on non-numbers

d7e1ee96 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/18 21:41
mkattr: ptr for Offset* handling (unimplemented); protect against uncomparable types used in tests

11c44a87 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/18 21:32
size-in-bits contract: 40 and 48 aren't valid bit sizes, remove

3f1cdca6 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/18 21:21
mkattr: protect against missing referenced field in conditions

5dff14b0 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/18 21:14
mkfield: protect against duplicate fields

c313af9d – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/18 20:54
add cmap subtables and sprinkle FIXMEs

a73cbb09 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/17 18:36
more stuff

d1b04784 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/16 21:48
add more types

df052be4 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/16 21:20
hhea, post; remove some of the unused fields

8824c6a7 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/16 21:20
fix Fixed parser

6f253d40 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/16 21:20
don't try to parse unused fixed arrays

731595bb – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/16 20:28
define maxp fully

9fa76896 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/16 20:03
shorter tests

5f2d73e0 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/16 19:02
implement conditional fields

a24a5759 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/13 23:47
support weird table tags -> C field mapping; add fixed arrays

3e799de7 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/13 22:22
add a FIXME on maxp table to read different versions

1d934b9a – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/13 22:12
recurse down to tagged tables when parsing, same when printing out

49510dd5 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/11 22:35
generate tag -> parser map for tagged tables

e46528a5 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/11 21:11
add a simple test

0cbe9b42 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/11 21:09
generate pretty-printing logic

d5c519ab – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/11 16:47
read bigger chunks, deserialize simple types inline

b966ea03 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/11 10:07
check the values validity if defined, even with unused fields

db646910 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/06/11 10:06
fix wrong C type used

Next