Opened 2 years ago

Last modified 11 months ago

#3516 new enhancement

Add font encoding and name parameters to d.northarrow

Reported by: marisn Owned by: grass-dev@…
Priority: minor Milestone: 7.6.2
Component: Display Version: svn-trunk
Keywords: d.northarrow Cc:
CPU: Unspecified Platform: Unspecified

Description

Most of d.* modules displaying user supplied text allow to set encoding and font, but d.northarrow does not. These options should be added to allow correct displaying of any non-ascii text (on Windows). See d.text for code.

Attachments (1)

d_northarrow_charset.diff (2.4 KB) - added by neteler 18 months ago.
Patch to add font, path and charset parameters

Download all attachments as: .zip

Change History (6)

Changed 18 months ago by neteler

Attachment: d_northarrow_charset.diff added

Patch to add font, path and charset parameters

comment:1 Changed 18 months ago by neteler

Please try this mostly untested patch (adds font, path and charset parameters, based on d.text).

comment:2 in reply to:  1 Changed 18 months ago by marisn

Replying to neteler:

Please try this mostly untested patch (adds font, path and charset parameters, based on d.text).

Tested on Linux and works fine. Unfortunately I do not have an access to Windows box suitable for testing.

comment:3 Changed 18 months ago by neteler

Patch submitted in r73212 for wider testing, esp. Windows.

comment:4 Changed 13 months ago by martinl

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:5 Changed 11 months ago by martinl

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.