Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering arabic language #1

Open
Maveric79 opened this issue Jul 18, 2017 · 7 comments
Open

Rendering arabic language #1

Maveric79 opened this issue Jul 18, 2017 · 7 comments

Comments

@Maveric79
Copy link

Maveric79 commented Jul 18, 2017

Hi All.

I've tried render map of Egypt and i have boxes in some places instead characters.

link to map: egypt

Any ideas?

@sjoerd222888
Copy link

I don't see boxes on your map. Have you fixed the issue already?

@Maveric79
Copy link
Author

Unfortunately I have not fixed this issue.
You can see boxes an image below.

Thanks in advance.

boxes

@erikj
Copy link
Member

erikj commented Jul 24, 2017

This is likely a font-package issue, but a first pass @ Google search results indicates that the image seems to be doing the most obvious things that it should: installing the ttf-unifont package and configuring it in font-settings.xml.inc, e.g.

https://help.openstreetmap.org/questions/35314/local-osm-server-localized-names-show-as-boxes

@Maveric79
Copy link
Author

Maveric79 commented Jul 25, 2017

Thank you, erikj.

This link was first that I found. I check image. This image already have ttf-unifont package and correct font-settings.xml.inc

<!--Settings for Mapnik Fonts
To see the fonts you have installed with Mapnik do:
ls `python -c "import mapnik;print mapnik.fontscollectionpath"`-->

<FontSet name="book-fonts">
  <Font face-name="DejaVu Sans Book" />
  <Font face-name="unifont Medium" />
</FontSet>
<FontSet name="bold-fonts">
  <Font face-name="DejaVu Sans Bold" />
  <Font face-name="unifont Medium" />
</FontSet>
<FontSet name="oblique-fonts">
  <Font face-name="DejaVu Sans Oblique" />
  <Font face-name="unifont Medium" />
</FontSet>

May be changing position tags "Font" will help

@sjoerd222888
Copy link

In the webbrowser on the website you provided I can zoom into the map and everything looks fine.
How are you rendering the HTML? Are you using an embedded browser? Maybe there are some configuration issues, missing fonts there?

Maybe I also misunderstand, but I thought when this little preview map looks fine, it would mean it works in principal, doesn't it?

@Maveric79
Copy link
Author

Maveric79 commented Jul 25, 2017

Hi, sjoerd222888.

Image that I showed in previous post was displayedin application osgearth_view (tiles was rendered inside image) . Do you not see boxes on that image ?

@sjoerd222888
Copy link

Of course I see the image but I did not know how it was rendered, now I know. I wrote my comment because I saw similar issues where it was related to issues with web-view used for rendering. Where I did not see blocks was on the link you posted initially. I kinda expected to also see the blocks there. Hope this explains the motivation for my previous comments.

bbouffaut added a commit to bbouffaut/osm-tiles-docker that referenced this issue Mar 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants