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

font marker symbols wrong size in map units #20267

Closed
qgib opened this issue Jan 27, 2015 · 12 comments
Closed

font marker symbols wrong size in map units #20267

qgib opened this issue Jan 27, 2015 · 12 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers

Comments

@qgib
Copy link
Contributor

qgib commented Jan 27, 2015

Author Name: Oskar Karlin (@oskarlin)
Original Redmine Issue: 12066
Affected QGIS version: 2.6.1
Redmine category:symbology


New description:

#20267 (comment)

Old description:

I have all my symbols size set using Map units. It looks great in almost all zoom levels but at one zoom level the houses (one of the layers) becomes incredible large!


@qgib
Copy link
Contributor Author

qgib commented Jan 29, 2015

Author Name: Giovanni Manghi (@gioman)


Is the symbol used part of the qgis library? or is a custom one? If is the latter can you attach it? what are map units in your project?


  • category_id was configured as Symbology
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jan 29, 2015

Author Name: Oskar Karlin (@oskarlin)


The symbol is a font symbol.

@qgib
Copy link
Contributor Author

qgib commented Jan 29, 2015

Author Name: Oskar Karlin (@oskarlin)


Oh and the map is using meters. Projection Sweref 99 TM.

@qgib
Copy link
Contributor Author

qgib commented Jan 30, 2015

Author Name: Giovanni Manghi (@gioman)


Oskar Karlin wrote:

The symbol is a font symbol.

what is the name of the font? is truetype?

@qgib
Copy link
Contributor Author

qgib commented Jan 30, 2015

Author Name: Oskar Karlin (@oskarlin)


It's a truetype font. Attached.


  • 8354 was configured as GSDSymbolsTerrngkartan.ttf

@qgib
Copy link
Contributor Author

qgib commented Jan 30, 2015

Author Name: Giovanni Manghi (@gioman)


Oskar Karlin wrote:

It's a truetype font. Attached.

I may have understand the issue. What scale and how many map units are you using?

@qgib
Copy link
Contributor Author

qgib commented Jan 30, 2015

Author Name: Oskar Karlin (@oskarlin)


From 1:74000 and up (more zoomed out) this behaviour appears. And for some reason it's only one of all symbols that gets this crazy size. And the other symbols come from same font. The size of the symbol is 25 map units (i e 25 meters). For your knowledge, the symbol size changes also radically in the preview in the layer list.

@qgib
Copy link
Contributor Author

qgib commented Dec 27, 2015

Author Name: Giovanni Manghi (@gioman)


Oskar Karlin wrote:

From 1:74000 and up (more zoomed out) this behaviour appears. And for some reason it's only one of all symbols that gets this crazy size. And the other symbols come from same font. The size of the symbol is 25 map units (i e 25 meters).

and what would be this specific symbol?

What I see is a slightly different issue, but maybe related (and I'm seeing it in qgis 1.8 up to master):

for font marker symbols, when defined in map units, then they all render as expected only starting from a certain scale. Before that they render the same size (so wrong) and a message shows in the log:

QFont::setPixelSize: Pixel size <= 0 (0)

@qgib
Copy link
Contributor Author

qgib commented May 23, 2016

Author Name: Giovanni Manghi (@gioman)


  • subject was changed from Some symbols get crazy large size at some zoom levels to font marker symbols wrong size in map units
  • status_id was changed from Feedback to Open
  • operating_system was changed from Mac OS X to

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • regression was configured as 0
  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Aug 7, 2017

Author Name: Jürgen Fischer (@jef-n)


  • description was changed from New description:

https://issues.qgis.org/issues/12066#note-8

Old description:

I have all my symbols size set using Map units. It looks great in almost all zoom levels but at one zoom level the houses (one of the layers) becomes incredible large! to New description:

#20267 (comment)

Old description:

I have all my symbols size set using Map units. It looks great in almost all zoom levels but at one zoom level the houses (one of the layers) becomes incredible large!

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Giovanni Manghi (@gioman)


End of life notice: QGIS 2.18 LTR

Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/


  • status_id was changed from Open to Closed
  • resolution was changed from to end of life

@qgib qgib closed this as completed Mar 9, 2019
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

No branches or pull requests

1 participant