]> granicus.if.org Git - libass/log
libass
9 years agoGenerate tables for each thread pthreads
Rodger Combs [Mon, 23 Jun 2014 03:24:37 +0000 (22:24 -0500)]
Generate tables for each thread

9 years agoWe're also OK if fribidi has --with-glib
Rodger Combs [Mon, 23 Jun 2014 01:18:20 +0000 (20:18 -0500)]
We're also OK if fribidi has --with-glib

9 years agoDumb hack: check if fribidi is unsafe, and use a mutex if it is
Rodger Combs [Sun, 22 Jun 2014 00:56:50 +0000 (19:56 -0500)]
Dumb hack: check if fribidi is unsafe, and use a mutex if it is

9 years agoRender each event on a separate thread using pthreads
Rodger Combs [Fri, 6 Jun 2014 20:50:47 +0000 (15:50 -0500)]
Render each event on a separate thread using pthreads

9 years agoMerge pull request #119 from MrSmile/fix-drawing-overflow
Rodger Combs [Sat, 19 Jul 2014 05:17:41 +0000 (00:17 -0500)]
Merge pull request #119 from MrSmile/fix-drawing-overflow

Fix integer overflow in FT_Outline

9 years agoMerge pull request #116 from hadvaid/dragonfly
Rodger Combs [Sat, 19 Jul 2014 05:17:17 +0000 (00:17 -0500)]
Merge pull request #116 from hadvaid/dragonfly

configure.ac: Treat DragonFly as the rest of BSDs

9 years agoFix integer overflow in FT_Outline
Dr.Smile [Fri, 18 Jul 2014 15:25:57 +0000 (19:25 +0400)]
Fix integer overflow in FT_Outline

9 years agoconfigure.ac: Treat DragonFly as the rest of BSDs
Jan Beich [Tue, 15 Jul 2014 12:21:33 +0000 (12:21 +0000)]
configure.ac: Treat DragonFly as the rest of BSDs

9 years agoass_parse: remove 2 unused variables
wm4 [Sun, 8 Jun 2014 23:56:22 +0000 (01:56 +0200)]
ass_parse: remove 2 unused variables

Fallout from the previous commits.

9 years agoSimplify drawing text assignment
Oleg Oshmyan [Thu, 29 May 2014 23:15:03 +0000 (00:15 +0100)]
Simplify drawing text assignment

9 years agoUse ass_drawing_add_chars for vector drawings
Oleg Oshmyan [Thu, 29 May 2014 23:01:41 +0000 (00:01 +0100)]
Use ass_drawing_add_chars for vector drawings

This not only provides a performance improvement but also
conveniently fixes the following issue: we used to interpret
backslash-escapes in vector drawings, but we shouldn't.

9 years agoparse_tag: remove unnecessary malloc
Oleg Oshmyan [Thu, 29 May 2014 22:38:45 +0000 (23:38 +0100)]
parse_tag: remove unnecessary malloc

9 years agoRequire closing '}' for override tags
Oleg Oshmyan [Thu, 29 May 2014 22:10:30 +0000 (23:10 +0100)]
Require closing '}' for override tags

Like VSFilter. '{' without a following '}' is just text, though
in vector drawing mode it still delimits individual drawings.

This also lets us nicely avoid '\0' hacks
in the \t override tag handler in parse_tag.

9 years agoIntroduce ass_drawing_add_chars for adding a whole string at once
Oleg Oshmyan [Sat, 17 May 2014 23:31:14 +0000 (00:31 +0100)]
Introduce ass_drawing_add_chars for adding a whole string at once

9 years agoParse override tag arguments exactly like VSFilter 2.38
Oleg Oshmyan [Sat, 17 May 2014 21:47:45 +0000 (22:47 +0100)]
Parse override tag arguments exactly like VSFilter 2.38

Also replace strtocolor in ass_utils with string2color
from ass.c, because that is more useful everywhere now.

9 years agoMove (r)skip_spaces to ass_utils
Oleg Oshmyan [Sat, 17 May 2014 21:39:33 +0000 (22:39 +0100)]
Move (r)skip_spaces to ass_utils

9 years agoparse_tag: merge \fs+, \fs-, \fs
Oleg Oshmyan [Thu, 1 May 2014 01:47:43 +0000 (02:47 +0100)]
parse_tag: merge \fs+, \fs-, \fs

9 years agoparse_tag: split \fscx, \fscy, \fsc
Oleg Oshmyan [Thu, 1 May 2014 01:47:43 +0000 (02:47 +0100)]
parse_tag: split \fscx, \fscy, \fsc

9 years agoAdd a mechanism for selective style overrides
wm4 [Wed, 4 Jun 2014 22:55:13 +0000 (00:55 +0200)]
Add a mechanism for selective style overrides

This adds 2 new API functions:

  ass_set_selective_style_override()
  ass_set_selective_style_override_enabled()

They can be used to force dialog text to use a specific ASS_Style. It
uses a fuzzy heuristic for that, and the quality of results may vary.
It does style overriding selectively and tries not to override things
that need explicit styling. The heuristic for that isn't set in stone
either, and can change with future libass versions.

Closes libass#88.

9 years agoMerge pull request #100 from astiob/stroke
Grigori Goronzy [Sun, 1 Jun 2014 22:16:28 +0000 (00:16 +0200)]
Merge pull request #100 from astiob/stroke

Use FT_Outline_EmboldenXY

9 years agoAdd BorderStyle=4, background color for text
wm4 [Sat, 31 May 2014 21:56:24 +0000 (23:56 +0200)]
Add BorderStyle=4, background color for text

This is somewhat similar to BorderStyle=3, but with a number of
differences. Mainly, this new BorderStyle doesn't create overlaps
within an event.

Closes #105.

9 years agoFix change detection when text is clipped to screen
wm4 [Sat, 31 May 2014 21:19:45 +0000 (23:19 +0200)]
Fix change detection when text is clipped to screen

The glyphs are clipped before combining, so the combined bitmap can
always have the same position, size, and address. This breaks the
change detection. Or at least I think that's what happens.

9 years agoRemove bitmap restriding
wm4 [Sun, 1 Jun 2014 02:35:24 +0000 (04:35 +0200)]
Remove bitmap restriding

It turns out we don't need this.

9 years agoUse FT_Outline_EmboldenXY if available
Oleg Oshmyan [Sun, 18 May 2014 02:50:12 +0000 (03:50 +0100)]
Use FT_Outline_EmboldenXY if available

9 years agoMerge pull request #102 from grigorig/fribidi-errorhandle
Grigori Goronzy [Thu, 29 May 2014 23:12:49 +0000 (01:12 +0200)]
Merge pull request #102 from grigorig/fribidi-errorhandle

shaper: add FriBidi error handling

9 years agoshaper: add FriBidi error handling
Grigori Goronzy [Thu, 29 May 2014 01:59:08 +0000 (03:59 +0200)]
shaper: add FriBidi error handling

It is unlikely, but FriBidi might not process a string correctly,
and we should handle that. Tested by making it fail always. This
should also fix some compiler warnings.

9 years agoSkip useless memset() when copying a bitmap
Rodger Combs [Sun, 25 May 2014 17:47:18 +0000 (12:47 -0500)]
Skip useless memset() when copying a bitmap

10 years agoFix \1a, \2a, \3a, \4a with invalid argument
Oleg Oshmyan [Fri, 2 May 2014 21:47:50 +0000 (22:47 +0100)]
Fix \1a, \2a, \3a, \4a with invalid argument

Reset to the initial color's alpha component, not red.

10 years agoReset clipping mode on every rectangle \clip
Oleg Oshmyan [Thu, 1 May 2014 01:38:33 +0000 (02:38 +0100)]
Reset clipping mode on every rectangle \clip

Prior to this fix, both of the following:
    \iclip(0,0,9999,9999)\clip(0,0,9999,9999)
    \iclip(0,0,0,0)\clip(0,0,9999,9999)
hid the whole picture in libass. The correct behavior
in both cases is to display the whole picture.

10 years agoMake \be animatable
Oleg Oshmyan [Wed, 30 Apr 2014 23:32:50 +0000 (00:32 +0100)]
Make \be animatable

VSFilter has supported this since version 2.39.

Use the raw floating-point value of the \be argument in the animation
formula, like xy-VSFilter has done since version 3.0.0.45 (404301a3).

10 years agomystrtoll: don't truncate to int
Oleg Oshmyan [Wed, 30 Apr 2014 23:17:23 +0000 (00:17 +0100)]
mystrtoll: don't truncate to int

10 years agoFix corner case: \move with identical start and end times
Oleg Oshmyan [Wed, 30 Apr 2014 23:06:28 +0000 (00:06 +0100)]
Fix corner case: \move with identical start and end times

10 years agoImplement fast quad-tree rasterizer in C and x86/SSE2/AVX2
Dr.Smile [Fri, 28 Mar 2014 18:17:46 +0000 (22:17 +0400)]
Implement fast quad-tree rasterizer in C and x86/SSE2/AVX2

Signed-off-by: Rodger Combs <rodger.combs@gmail.com>
10 years agoFix premature parser exit on }{ in drawing mode
Oleg Oshmyan [Sun, 27 Apr 2014 21:26:16 +0000 (22:26 +0100)]
Fix premature parser exit on }{ in drawing mode

Fixes #75.

10 years agoFixed headers in profile and test
Rodger Combs [Sun, 27 Apr 2014 04:07:09 +0000 (23:07 -0500)]
Fixed headers in profile and test

10 years agoUpdate README
Grigori Goronzy [Fri, 25 Apr 2014 17:38:52 +0000 (19:38 +0200)]
Update README

10 years agoUpdate version info and changelog 0.11.2
Grigori Goronzy [Fri, 25 Apr 2014 17:28:17 +0000 (19:28 +0200)]
Update version info and changelog

10 years agoInitialize \pbo for each event
Oleg Oshmyan [Thu, 10 Apr 2014 15:41:57 +0000 (18:41 +0300)]
Initialize \pbo for each event

Regression in commit 1f5eb5eb.
Fixes issue #74.

10 years agoDon't crash on \fscx0 with non-zero \blur
Oleg Oshmyan [Thu, 27 Mar 2014 22:19:56 +0000 (00:19 +0200)]
Don't crash on \fscx0 with non-zero \blur

Regression in commit 98707694.

10 years agoshaper: fix nasty sign bug in font functions
Grigori Goronzy [Mon, 17 Mar 2014 00:40:49 +0000 (01:40 +0100)]
shaper: fix nasty sign bug in font functions

Fixes issue #68.

10 years agoMerge pull request #66 from grigorig/drawing-floats
Grigori Goronzy [Sun, 16 Mar 2014 13:55:49 +0000 (14:55 +0100)]
Merge pull request #66 from grigorig/drawing-floats

drawing: parse numbers as floats

10 years agodrawing: parse numbers as floats
Grigori Goronzy [Sat, 15 Mar 2014 11:11:50 +0000 (12:11 +0100)]
drawing: parse numbers as floats

Parse values as float and convert into 26.6 fixed point. This actually
simplifies scaling a bit.

Fixes #63.

10 years agoRemove dirty pixels from ASM be_blur output
Oleg Oshmyan [Thu, 13 Mar 2014 01:07:47 +0000 (01:07 +0000)]
Remove dirty pixels from ASM be_blur output

A loop initializer was missing, so output started one row too early.
A loop condition check was missing, so output sometimes stopped
one column too late.

Also remove a couple of dead assignments.

10 years agoFix handling of top two pixel rows in be_blur_c
Oleg Oshmyan [Wed, 12 Mar 2014 22:06:28 +0000 (22:06 +0000)]
Fix handling of top two pixel rows in be_blur_c

5dd56af2 replaced our implementation of \be with xy-VSFilter's.
This error is not present in the xy-VSFilter code; it was introduced
by accident in a merge that was later squashed as part of 5dd56af2.

Note: the new \be reads in but does not write out
the first and last row and column of pixels.

10 years agoRemove incorrect declaration of HAVE_ALIGNED_STACK
11rcombs [Mon, 10 Mar 2014 00:33:30 +0000 (19:33 -0500)]
Remove incorrect declaration of HAVE_ALIGNED_STACK

10 years agoBetter fix for zero area outlines
Dr.Smile [Mon, 3 Mar 2014 22:24:34 +0000 (02:24 +0400)]
Better fix for zero area outlines

Signed-off-by: wm4 <wm4@nowhere>
Commit 04b51c2d broke BorderStyle=3 with text that had spaces.

10 years agoFix API documentation of change detection
Grigori Goronzy [Thu, 6 Mar 2014 22:16:41 +0000 (23:16 +0100)]
Fix API documentation of change detection

10 years agoMerge pull request #61 from wm4/fix2
Grigori Goronzy [Thu, 6 Mar 2014 22:16:11 +0000 (23:16 +0100)]
Merge pull request #61 from wm4/fix2

Fix change detection in presence of vector clips

10 years agoFix change detection in presence of vector clips
wm4 [Thu, 6 Mar 2014 21:23:01 +0000 (22:23 +0100)]
Fix change detection in presence of vector clips

Fixes this test case:

Dialogue: 0,0:00:00.00,0:00:02.00,,,0,0,0,,{\fs50\pos(250,250)\iclip(m 0 0 l 400 0 l 400 220 l0 220)}Hello
Dialogue: 0,0:00:02.00,0:10:00.00,,,0,0,0,,{\fs50\pos(250,250)\iclip(m 0 0 l 400 0 l 400 230 l0 230)}Hello

The problem here is that the rendered output bitmap list itself does
not change, only its contents (due to the different vector clip).
ass_render_frame() will not set *detect_change correctly, and an
application using this flag (like mplayer or mpv) will not update
the screen as needed.

Fix this with a very cheap hack: always report a full change if
there's a vector clip. This is basically an emergency fix until
we have a proper way to detect the change.

10 years agoActually export ass_library_version symbol
wm4 [Mon, 3 Mar 2014 23:36:21 +0000 (00:36 +0100)]
Actually export ass_library_version symbol

Patch by chadr...@gmail.com.

Fixes libass#58, GC#117.

10 years agoDon't crash on \fscx0
wm4 [Mon, 3 Mar 2014 14:52:54 +0000 (15:52 +0100)]
Don't crash on \fscx0

Freetype can return a bounding box with all fields set to INT_MIN if an
outline with all points set to 0 is used. This can happen e.g. with
\fscx0, but also in more complicated cases. (In the original crashing
sample, this was probably caused in combination with an embedded font.)

Such a bounding box causes libass to crash, because it will enlarge the
combined bitmap bounding box to a ridiculous size.

Just skip outlines that have en empty bounding box. This is probably
the correct thing to do, and won't pass INT_MAX down to other parts
of libass.

10 years agoDon't use an unsigned it to check for <0 :|
11rcombs [Sat, 1 Mar 2014 01:54:39 +0000 (19:54 -0600)]
Don't use an unsigned it to check for <0 :|

10 years agoAssume SSE2 on x86_64
11rcombs [Sat, 1 Mar 2014 01:54:03 +0000 (19:54 -0600)]
Assume SSE2 on x86_64

10 years agoRedesigned configure/Makefile setup
11rcombs [Mon, 24 Feb 2014 01:39:45 +0000 (19:39 -0600)]
Redesigned configure/Makefile setup

Adds yasm version check and handles Free/OpenBSD/win32 correctly.

Signed-off-by: Grigori Goronzy <greg@chown.ath.cx>
10 years agoFormat README.md
Rodger Combs [Wed, 19 Feb 2014 14:59:41 +0000 (08:59 -0600)]
Format README.md

10 years agoCreate README.md
Rodger Combs [Wed, 19 Feb 2014 14:48:14 +0000 (08:48 -0600)]
Create README.md

10 years agoUpdate version info and changelog 0.11.1
Grigori Goronzy [Wed, 19 Feb 2014 14:10:25 +0000 (15:10 +0100)]
Update version info and changelog

10 years agoAdd missing distfiles
Grigori Goronzy [Wed, 19 Feb 2014 13:52:48 +0000 (14:52 +0100)]
Add missing distfiles

10 years agoUpdate changelog 0.11.0
Grigori Goronzy [Tue, 18 Feb 2014 23:37:50 +0000 (00:37 +0100)]
Update changelog

10 years agoUpdate version info
Grigori Goronzy [Tue, 18 Feb 2014 21:02:48 +0000 (22:02 +0100)]
Update version info

10 years agoUpdate changelog
Grigori Goronzy [Tue, 18 Feb 2014 20:58:30 +0000 (21:58 +0100)]
Update changelog

10 years agoWe have aligned stack on Win64
11rcombs [Mon, 17 Feb 2014 16:08:22 +0000 (10:08 -0600)]
We have aligned stack on Win64

10 years agoDefine HAVE_ALIGNED_STACK; should wrap up #48
11rcombs [Mon, 17 Feb 2014 07:21:41 +0000 (01:21 -0600)]
Define HAVE_ALIGNED_STACK; should wrap up #48

10 years agoFix limits.h includes
Grigori Goronzy [Sun, 16 Feb 2014 23:13:37 +0000 (00:13 +0100)]
Fix limits.h includes

These were missing in several places. Fixes #50.

10 years agoRemove unnecessary instruction
11rcombs [Sun, 16 Feb 2014 19:32:54 +0000 (13:32 -0600)]
Remove unnecessary instruction

10 years agoAdded XMM register count in be_blur; should help #48
11rcombs [Sun, 16 Feb 2014 19:28:47 +0000 (13:28 -0600)]
Added XMM register count in be_blur; should help #48

10 years agoUse lower mm registers in be_blur.asm
11rcombs [Sun, 16 Feb 2014 19:29:40 +0000 (13:29 -0600)]
Use lower mm registers in be_blur.asm

10 years agoAdded license headers in ASM files
11rcombs [Sun, 16 Feb 2014 19:26:34 +0000 (13:26 -0600)]
Added license headers in ASM files

10 years agoDon't include skipped glyphs in combined bitmaps
Oleg Oshmyan [Wed, 12 Feb 2014 16:24:39 +0000 (16:24 +0000)]
Don't include skipped glyphs in combined bitmaps

Make sure to correctly handle situations where glyphs
have info->linebreak and info->skip set at the same time.

Fixes libass#44.

10 years agoDon't reset wrap_style on \r
Grigori Goronzy [Tue, 11 Feb 2014 22:47:18 +0000 (23:47 +0100)]
Don't reset wrap_style on \r

This isn't part of a style. Fixes libass#45, GC#116.

10 years agoFont metrics: FreeType falls back to sTypoAscender/Descender
Oleg Oshmyan [Tue, 11 Feb 2014 15:58:14 +0000 (15:58 +0000)]
Font metrics: FreeType falls back to sTypoAscender/Descender

Fixes libass#8.

10 years agoUse cluster advance in compute_string_bbox to account for \fsp
Oleg Oshmyan [Sun, 9 Feb 2014 03:18:39 +0000 (03:18 +0000)]
Use cluster advance in compute_string_bbox to account for \fsp

Fixes libass#16 (the remaining sub-issue).

10 years agoUse a function for aligned memory allocations
wm4 [Wed, 29 Jan 2014 17:11:13 +0000 (18:11 +0100)]
Use a function for aligned memory allocations

...instead of doing this manually.

10 years agoFix subpixel jumping of rotated glyph runs
Oleg Oshmyan [Wed, 29 Jan 2014 20:54:45 +0000 (20:54 +0000)]
Fix subpixel jumping of rotated glyph runs

Rotation origin was not taken into account
when caching glyph run bitmaps.

10 years agoMerge pull request #39 from grigorig/shaper-hash-opt
Grigori Goronzy [Wed, 29 Jan 2014 20:13:09 +0000 (12:13 -0800)]
Merge pull request #39 from grigorig/shaper-hash-opt

Shaper and hash function optimizations

10 years agoFixed incorrect spelling in copyright notice
11rcombs [Wed, 29 Jan 2014 18:05:41 +0000 (12:05 -0600)]
Fixed incorrect spelling in copyright notice

10 years agoUnroll FNV-1A hash function
Grigori Goronzy [Wed, 29 Jan 2014 04:25:40 +0000 (05:25 +0100)]
Unroll FNV-1A hash function

Unroll the hash function with Duff's device for improved performance.

10 years agoshaper: use global features correctly
Grigori Goronzy [Wed, 29 Jan 2014 04:23:55 +0000 (05:23 +0100)]
shaper: use global features correctly

start/end of feature tags is unsigned, so use the proper constant
to signal to HarfBuzz that these features are global. This allows
HarfBuzz to cache shape plans, and that can considerably speed up
shaping, especially if many small runs need to be shaped.

10 years agoshaper: rewrite and simplify harfbuzz shaping
Grigori Goronzy [Sun, 26 Jan 2014 02:30:45 +0000 (03:30 +0100)]
shaper: rewrite and simplify harfbuzz shaping

Rewrite the core of the harfbuzz shaping function. Gets rid of the
MAX_RUNS limit of runs per line and reuses a single hb_buffer_t,
which should be more efficient.

10 years agoMerge pull request #37 from wm4/minor
Grigori Goronzy [Tue, 28 Jan 2014 23:44:20 +0000 (15:44 -0800)]
Merge pull request #37 from wm4/minor

Minor cosmetics

10 years agoass_utils: fix declarations
wm4 [Mon, 27 Jan 2014 18:58:43 +0000 (19:58 +0100)]
ass_utils: fix declarations

Now they're the same as in ass_utils.h.

10 years agoass_utils: don't include freetype headers
wm4 [Mon, 27 Jan 2014 18:57:44 +0000 (19:57 +0100)]
ass_utils: don't include freetype headers

They're not even used.

10 years agoAdded copyright notice for xy \be blur
11rcombs [Mon, 27 Jan 2014 16:38:17 +0000 (10:38 -0600)]
Added copyright notice for xy \be blur

10 years agoCheck for YASM in configure
11rcombs [Mon, 27 Jan 2014 00:14:53 +0000 (18:14 -0600)]
Check for YASM in configure

10 years agoMake apply_blur and make_shadow_bitmap static; remove an unneeded local variable
11rcombs [Sun, 26 Jan 2014 05:14:06 +0000 (23:14 -0600)]
Make apply_blur and make_shadow_bitmap static; remove an unneeded local variable

10 years agoMake sure to release each event's vector clip mask
Oleg Oshmyan [Sat, 25 Jan 2014 01:22:04 +0000 (01:22 +0000)]
Make sure to release each event's vector clip mask

Events with a clip mask but no text such as just
    Dialogue: ...,{\clip(m 47 32 )}
had their clip masks carried over to the next event.

Fixes GitHub issue #22.

10 years agoSimplify storage size handling
Oleg Oshmyan [Fri, 24 Jan 2014 19:30:58 +0000 (19:30 +0000)]
Simplify storage size handling

No functional changes.

10 years agoBuild: Remove references to unimplemented ARM ASM
11rcombs [Sun, 26 Jan 2014 02:48:10 +0000 (20:48 -0600)]
Build: Remove references to unimplemented ARM ASM

10 years agoParser: don't increment render_priv->state.bm_run_id (unnecessary)
11rcombs [Sat, 25 Jan 2014 23:48:24 +0000 (17:48 -0600)]
Parser: don't increment render_priv->state.bm_run_id (unnecessary)

10 years agoAdded x86 ASM functions
11rcombs [Sat, 25 Jan 2014 22:55:21 +0000 (16:55 -0600)]
Added x86 ASM functions

10 years agoCombine bitmaps before applying blur and shadow
11rcombs [Sun, 26 Jan 2014 01:06:12 +0000 (19:06 -0600)]
Combine bitmaps before applying blur and shadow

10 years agoTest/Profile: Support out-of-tree builds
11rcombs [Sat, 25 Jan 2014 22:46:10 +0000 (16:46 -0600)]
Test/Profile: Support out-of-tree builds

10 years agoTest: Render at 1280x720
11rcombs [Sat, 25 Jan 2014 22:33:00 +0000 (16:33 -0600)]
Test: Render at 1280x720

10 years agoAdded profile program and corresponding configure options
11rcombs [Tue, 31 Dec 2013 17:49:30 +0000 (11:49 -0600)]
Added profile program and corresponding configure options

10 years agoRemove configure from autogen.sh
11rcombs [Sun, 19 Jan 2014 00:12:27 +0000 (18:12 -0600)]
Remove configure from autogen.sh

10 years agoMerge pull request #26 from wm4/warnings
Grigori Goronzy [Sat, 25 Jan 2014 01:27:03 +0000 (17:27 -0800)]
Merge pull request #26 from wm4/warnings

Use more warning flags

10 years agoAttempt to make code more readable
wm4 [Fri, 24 Jan 2014 01:27:26 +0000 (02:27 +0100)]
Attempt to make code more readable

No more double pointer dereferencing.

10 years agoAppend new cache items at the start of the collision list
11rcombs [Fri, 24 Jan 2014 01:23:30 +0000 (02:23 +0100)]
Append new cache items at the start of the collision list

The idea is that more recently-added cache items are more likely to
get hits.

Signed-off-by: wm4 <wm4@nowhere>
10 years agoSimplify hash function
11rcombs [Fri, 24 Jan 2014 01:09:46 +0000 (02:09 +0100)]
Simplify hash function

We can rely on fast multiplication and good compilers.

v2: use default FNV-1a prime

Signed-off-by: wm4 <wm4@nowhere>
Signed-off-by: Grigori Goronzy <greg@chown.ath.cx>
10 years agoMerge pull request #28 from astiob/compat
Grigori Goronzy [Sat, 25 Jan 2014 00:38:11 +0000 (16:38 -0800)]
Merge pull request #28 from astiob/compat

Fix \k starting time and incorrectly skipped fonts