Page 1 of 1

[wheybags] [0.17.2] Icons in Train Stop names doesn't rotate correctly (map view)

Posted: Thu Feb 28, 2019 2:39 am
by Gabrol
I put icons into train stop names, but they look funky, rotating off axis, they look fine when the angle is set to 0

video:

Re: [0.17.2]Icons in Train Stop names doesn't rotate correctly (map view)

Posted: Thu Feb 28, 2019 11:45 pm
by joshinils
yup, noticed the same thing in 0.17.3:
factorio_angled_trainstation_name.png
factorio_angled_trainstation_name.png (33.99 KiB) Viewed 5197 times

Re: [0.17.5] Icons in Train Stop names doesn't rotate correctly (map view)

Posted: Tue Mar 05, 2019 3:02 am
by joshinils
still happens in 0.17.5

Re: [0.17.2] Icons in Train Stop names doesn't rotate correctly (map view)

Posted: Tue Mar 05, 2019 7:08 am
by tehfreek
I supspect that this may be related to viewtopic.php?p=405440.

Re: [wheybags] [0.17.2] Icons in Train Stop names doesn't rotate correctly (map view)

Posted: Fri Mar 22, 2019 3:17 pm
by ThaPear
Still looks strange in 0.17.17
Image
Image
Image

Re: [wheybags] [0.17.2] Icons in Train Stop names doesn't rotate correctly (map view)

Posted: Wed Mar 27, 2019 3:31 pm
by wheybags
Thanks for the report, fixed for the next version.

Re: [wheybags] [0.17.5] Icons in Train Stop names doesn't rotate correctly (map view)

Posted: Sun Jun 23, 2019 11:48 am
by FerMod
Still happens in 0.17.50, the name does not rotate correctly when using some options of the [font] tag.

This is the rich text name that caused the issue:
RichTextBug.jpg
RichTextBug.jpg (7.43 KiB) Viewed 4640 times

Code: Select all

[img=item/artillery-wagon] [font=default-bold][color=yellow]Artillery Defense[/color][/font] [img=item/artillery-wagon]
When not using the [font] tag shows correctly:
RichText.jpg
RichText.jpg (7.93 KiB) Viewed 4640 times

Code: Select all

[img=item/artillery-wagon] Artillery Defense [img=item/artillery-wagon]

Re: [wheybags] [0.17.2] Icons in Train Stop names doesn't rotate correctly (map view)

Posted: Thu Jun 27, 2019 12:28 pm
by wheybags
Ah, yup, we draw text by two different methods internally, depending on the size, and we forgot to add rotation support to one of the types.
Thanks for the report, and fixed for the next version.