Skip to content

Instantly share code, notes, and snippets.

View mgieseki's full-sized avatar

Martin Gieseking mgieseki

  • Osnabrück, Germany
  • 17:48 (UTC +02:00)
View GitHub Profile
@mgieseki
mgieseki / xlocale.patch
Created February 3, 2017 16:09
fix locale issue in ff-woff
diff -r 5b28b8d3980f configure.ac
--- a/configure.ac Wed Jan 25 19:35:26 2017 +0100
+++ b/configure.ac Fri Feb 03 16:59:08 2017 +0100
@@ -26,7 +26,7 @@
AC_LANG(C)
AC_CHECK_FUNCS([ftime gettimeofday])
-AC_CHECK_HEADERS([sys/time.h sys/timeb.h])
+AC_CHECK_HEADERS([sys/time.h sys/timeb.h xlocale.h])
AC_HEADER_TIOCGWINSZ
@mgieseki
mgieseki / combine-chars.xsl
Last active April 6, 2016 14:29
This XSLT script takes an SVG file created by `dvisvgm --no-merge --no-styles ...` and puts all adjacent characters with the same vertical position in a single tspan element.
<?xml version="1.0"?>
<!-- License: GPL v3 -->
<!-- (C) 2016 Martin Gieseking <martin.gieseking@uos.de> -->
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xlink='http://www.w3.org/1999/xlink'
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:svg='http://www.w3.org/2000/svg'
xmlns='http://www.w3.org/2000/svg'
xmlns:my="my-namespace"