Skip to content

Instantly share code, notes, and snippets.

View springmeyer's full-sized avatar

Dane Springmeyer springmeyer

View GitHub Profile
@springmeyer
springmeyer / notes.md
Created June 17, 2012 17:27
css styling for maps meeting

June 17, 2012 - Google+ hangout to share visions, positions, and plans on css styling for maps

Attending:

david winslow, javier de la torre, tom macwright, artem pavlenko, nate kelso, lars ahlzen, aj ashton, dane springmeyer, josh livni

Idea stream captured:

  • need small subset - simpler/smaller than all existing implementations, to start (jlivni)
  • soften transition and encourage sharing of styles between client/server, vector/raster (all)
@springmeyer
springmeyer / perf-guide.md
Last active October 6, 2015 05:38
Basics of performance profiling for users that want fast programs
@springmeyer
springmeyer / move_agg_comp_op_to_cpp.diff
Created June 17, 2012 13:35
tweak agg to expose the src_over comp-op in cpp file, to reduce recompiles during experimentation
diff --git a/deps/agg/include/agg_pixfmt_rgba.h b/deps/agg/include/agg_pixfmt_rgba.h
index 7d2ef4f..37fd893 100644
--- a/deps/agg/include/agg_pixfmt_rgba.h
+++ b/deps/agg/include/agg_pixfmt_rgba.h
@@ -316,21 +316,7 @@ namespace agg
// Da' = Sa + Da - Sa.Da
static AGG_INLINE void blend_pix(value_type* p,
unsigned sr, unsigned sg, unsigned sb,
- unsigned sa, unsigned cover)
- {
diff --git a/src/png_reader.cpp b/src/png_reader.cpp
index 8b993c7..15a8fbd 100644
--- a/src/png_reader.cpp
+++ b/src/png_reader.cpp
@@ -119,7 +119,8 @@ void png_reader::init()
throw image_reader_exception("failed to create info_ptr");
}
- if (setjmp(png_jmpbuf(png_ptr)))
+ jmp_buf* jmp_context = (jmp_buf*) png_get_error_ptr(png_ptr);
@springmeyer
springmeyer / mapnik_view_controller.mm
Created June 15, 2012 01:58
mapnik on ios (objc++)
//
// ViewController.m
// mrender
//
// Created by Dane Springmeyer on 6/13/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "ViewController.h"
@springmeyer
springmeyer / robinson.proj.txt
Created June 5, 2012 23:16
modified robinson centered on dc
+proj=robin +lon_0=-77 +pm=-77 +over +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
Subversion Revision: 109293
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 63351bd62c5c6a902c9487b6dbecb5c97b8862c3..8ba4b071b1460a684ef6147b706d75c94655e72c 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,84 @@
+2012-02-29 Kenichi Ishibashi <bashi@chromium.org>
+
+ [Chromium] Implement font shaping with font-feature-settings on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=69826
diff --git a/src/agg/process_text_symbolizer.cpp b/src/agg/process_text_symbolizer.cpp
index 5c16652..9da346a 100644
--- a/src/agg/process_text_symbolizer.cpp
+++ b/src/agg/process_text_symbolizer.cpp
@@ -35,7 +35,7 @@ void agg_renderer<T>::process(text_symbolizer const& sym,
text_symbolizer_helper<face_manager<freetype_engine>,
label_collision_detector4> helper(
sym, *feature, prj_trans,
- width_, height_,
+ detector_->extent().width(), detector_->extent().height(),
/projects/mapnik3[master]$ ldd /usr/local/lib/libpango-1.0.dylib
/usr/local/lib/libpango-1.0.dylib:
/usr/local/lib/libpango-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0)
/usr/local/lib/libgobject-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
/usr/local/lib/libgthread-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
/usr/local/lib/libgmodule-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
/usr/local/lib/libglib-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
/usr/local/Cellar/gettext/0.18.1.1/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
~/projects/mapnik3[master]$ ldd /usr/local/lib/libgobject-2.0.dylib
$ ldd /Applications/TileMill.app/Contents/Resources/node_modules/mapnik/lib/libmapnik.dylib
/Applications/TileMill.app/Contents/Resources/node_modules/mapnik/lib/libmapnik.dylib:
libmapnik.dylib (compatibility version 2.1.0, current version 2.1.0)
/usr/lib/libltdl.7.dylib (compatibility version 9.0.0, current version 9.2.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
/usr/lib/libxml2.2.dylib (compatibility version 9.0.0, current version 10.3.0)
/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)