Comments (4)
The issue you're hitting is basically that the russian characters don't exist in the font you're specifying in the style sheet. The reason it works for "center" text positioned stuff is because apple's font engine is automatically falling back to an alternative font there. A temporary fix would be to simply specify a font that includes cyrilic characters, I'll take a look at trying to get the fallback mirroring what apple does though.
from openstreetpad.
yes, force assignment fontFamily = @"Arial" in code let the engine load cyrilic characters, but it contradicts mapCSS file with "font-family: Helvetica;". Nevertheless, it does not matter for me, so thanks!
from openstreetpad.
You can do this more neatly by simply editing the highways.mcs file – set it to use Arial instead :)
Bob
if (*ra4 != 0xffc78948) { return false; }
On 3 May 2012, at 17:17, Nikita Medvedev wrote:
yes, force assignment fontFamily = @"Arial" in code let the engine load cyrilic characters, but it contradicts mapCSS file with "font-family: Helvetica;". Nevertheless, it does not matter for me, so thanks!
Reply to this email directly or view it on GitHub:
#35 (comment)
from openstreetpad.
ooh of course) bad habit to make changes in code
from openstreetpad.
Related Issues (20)
- Use CoreLocation to determine starting location
- multipolygons HOT 1
- OpenStreetPad Install HOT 1
- All tiles you have scrolled over are requested, even if you've scrolled away from them.
- add CoreParse as submodule HOT 5
- Support for writing .osm
- Support for reading .pbf
- Support for writing .pbf
- Support for quad trees of data files
- Support for zooming the map
- Text labels can be rendered with squint lettering
- Text on ways can appear from right to left
- Open zoom ranges do not work correctly
- Support for @import statements
- Support for exit in MapCSS
- Support for MapCSS pseudo tags.
- Not a real issue :) HOT 1
- Create OpenStreetMaps PBF File. HOT 1
- Add pin annotation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstreetpad.