Skip to content

Commit

Permalink
Use vertical punctuation forms
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Wojciechowski committed Nov 9, 2016
1 parent 3462d7e commit e2464d2
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 0 deletions.
Binary file added glyphs/NotoCJK/65024-65279.pbf
Binary file not shown.
Binary file added glyphs/NotoCJK/65280-65535.pbf
Binary file not shown.
Binary file modified glyphs/NotoCJK/8704-8959.pbf
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
194 changes: 194 additions & 0 deletions render-tests/text-writing-mode/chinese-punctuation/style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
{
"version": 8,
"metadata": {
"test": {
"height": 512,
"width": 512
}
},
"zoom": 0,
"center": [0, 0],
"sources": {
"mapbox": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "氣—到–身_什…戰.只。"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
-119,
85
],
[
-119,
10
]
]
}
},
{
"type": "Feature",
"properties": {
"name": "(氣)到(身)(什)"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
-32.453124999999964,
85
],
[
-32.453124999999964,
10
]
]
}
},
{
"type": "Feature",
"properties": {
"name": "“氣”到“身”“白”"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
52.04687500000002,
85
],
[
52.04687500000002,
10
]
]
}
},
{
"type": "Feature",
"properties": {
"name": "—氣—到—a—a—"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
128.703125,
85
],
[
128.703125,
10
]
]
}
},
{
"type": "Feature",
"properties": {
"name": "氣—到–身_什…戰.只。"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
-150,
-17
],
[
-10,
-17
]
]
}
},
{
"type": "Feature",
"properties": {
"name": "(氣)到(身)(什)"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
-150,
-58
],
[
-10,
-58
]
]
}
},
{
"type": "Feature",
"properties": {
"name": "“氣”到“身”“白”"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
10,
-17
],
[
130,
-17
]
]
}
},
{
"type": "Feature",
"properties": {
"name": "—氣—到—a—a—"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
10,
-58
],
[
130,
-58
]
]
}
}
]
}
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "lines-symbol",
"type": "symbol",
"source": "mapbox",
"layout": {
"text-field": "{name}",
"symbol-placement": "line",
"text-allow-overlap": true,
"text-font": [ "NotoCJK" ]
}
}
]
}

0 comments on commit e2464d2

Please sign in to comment.