Opened 7 years ago

Last modified 6 years 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 6 years ago.
Patch to add font, path and charset parameters

Download all attachments as: .zip

Change History (6)

by neteler, 6 years ago

Attachment: d_northarrow_charset.diff added

Patch to add font, path and charset parameters

comment:1 by neteler, 6 years ago

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

in reply to:  1 comment:2 by marisn, 6 years ago

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 by neteler, 6 years ago

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

comment:4 by martinl, 6 years ago

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:5 by martinl, 6 years ago

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.