Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/fontcache.cpp b/src/fontcache.cpp
index 3756a7452..86526a3bc 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -719,6 +724,7 @@ class Win32FontCache : public TrueTypeFontCache {
HFONT font = NULL; ///< The font face associated with this font.
HDC dc = NULL;
HGDIOBJ old_font;
+ SIZE glyph_size;
@michicc
michicc / railtype_90deg_curve_03.patch
Last active August 12, 2018 10:32
Railtype flag for 90 deg curves.
From 58b42eaa40c6ec8a242ba64054f50c31d62a9e3e Mon Sep 17 00:00:00 2001
From: Michael Lutz <michi@icosahedron.de>
Date: Sat, 28 Jul 2018 18:07:41 +0200
Subject: Feature: Railtype flags to allow/disallow 90 degree curves.
---
src/pathfinder/follow_track.hpp | 2 +-
src/pathfinder/npf/npf.cpp | 14 +++++++++-----
src/pbs.cpp | 4 ++--
src/rail.h | 25 +++++++++++++++++++++++++
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin