Code Monkey home page Code Monkey logo

Comments (4)

beelsebob avatar beelsebob commented on July 21, 2024

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.

medvedNick avatar medvedNick commented on July 21, 2024

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.

beelsebob avatar beelsebob commented on July 21, 2024

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.

medvedNick avatar medvedNick commented on July 21, 2024

ooh of course) bad habit to make changes in code

from openstreetpad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.