Merge branch 'harfbuzz' into hb-halign

This commit is contained in:
Hermann Kraus 2013-06-24 23:12:26 +02:00
commit fa7f6351fa
7 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{
"keys": [
"",
"-5",
"-7",
"-3"
],
"data": {},
"grid": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" !! ! ## ",
" ! !!! ### ",
" $ $$ $$$$ $ $$$$$$$$$ $$ $ $$$$$ !!!!!! !!!!!!!!!!!!!!!!!!!! ################### ",
" $ $ $ $ $$ $ $ $ $ $ $$$ ! ! ! ! ! ! !! ## # ### # # # ",
" $$$ $ $ $ $ $ $ $ $ $$ $ ! ! ! !!!! ! !!! !!! ! ! # # # ### # # # ",
" $ $ $ $ $$ $ $$ $ ! !!!! !! ! ! ! ! ! ! # # # # ### # # ",
" $$ $ $ $ $ $$ ! ! ! ! !!! ! !! # # # # ## # ",
" $ $$ $ ! ! ## ## # ",
" ### ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map background-color="white" srs="+proj=latlong +datum=WGS84" font-directory="/usr/share/fonts/truetype/lohit-bengali/">
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">osm</Parameter>
<Parameter name="file">../data/points.osm</Parameter>
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<Filter>[nr] = "3"</Filter>
<TextSymbolizer face-name="Lohit Bengali Regular" size="30" placement="point" dy="0">"গোপালগঞ্জ"</TextSymbolizer>
</Rule>
<Rule>
<Filter>[nr] = "5"</Filter>
<TextSymbolizer face-name="Lohit Bengali Regular" size="30" placement="point" dy="0">"ঝিনাইদহ"</TextSymbolizer>
</Rule>
<Rule>
<Filter>[nr] = "7"</Filter>
<TextSymbolizer face-name="Lohit Bengali Regular" size="30" placement="point" dy="0">"কুষ্টিয়া"</TextSymbolizer>
</Rule>
</Style>
</Map>

View file

@ -83,6 +83,7 @@ text_tests = [
{'name': "text-halign", 'sizes': [(800,800)], 'bbox':default_text_box},
# Disabled by default as the required font isn't shipped with mapnik
#{'name': "text-malayalam", 'sizes':[(800, 100)], 'bbox':default_text_box},
{'name': "text-bengali", 'sizes':[(800, 100)], 'bbox':default_text_box},
]
tiff_tests = [