[Discourse.ros.org] [General] [notice] Removal of Arial in rviz caused breaking changes

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] [notice] Removal of Arial in rviz caused breaking changes

Charles Fox via ros-users


I recently removed the copy of the Arial font we were distributing in `rviz` and replaced it with Liberation Sans [1]. This was done in Indigo, Jade, Kinetic, and Lunar.

At the time I thought other plugins would be reusing the code that was used to do moving text in rviz (avoiding a reference to Arial themselves), but that doesn't appear to be the case and several users have run into issues [2][3][4].

There's not a workaround at the moment, but the fix should be straightforward. I'll try to expedite the release of these packages to public if I can.

If anyone has time to do testing higher level packages in the "shadow repository"[5] between syncs to public that would help us catch these mistakes before they get to users and it would be much appreciated.

Thanks and sorry again for the disruption,

[1] https://github.com/ros-visualization/rviz/pull/1141
[2] https://answers.ros.org/question/271750/error-when-trying-to-launch-moveit-created-robot-model/
[3] https://github.com/ros-planning/moveit/issues/624
[4] https://github.com/orikuma/jsk_visualization/commit/69c456a5fc095a73b50cfd24fe7d7a605a5467cc
[5] http://wiki.ros.org/ShadowRepository





---
[Visit Topic](https://discourse.ros.org/t/notice-removal-of-arial-in-rviz-caused-breaking-changes/2791/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] [notice] Removal of Arial in rviz caused breaking changes

Charles Fox via ros-users


Any update on this issue? Is there any workaround now to get rid of Liberation Font exception when starting rviz?





---
[Visit Topic](https://discourse.ros.org/t/notice-removal-of-arial-in-rviz-caused-breaking-changes/2791/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] [notice] Removal of Arial in rviz caused breaking changes

Charles Fox via ros-users
In reply to this post by Charles Fox via ros-users


I don't have any update on this. The change has to be made in moveit and it has to be released. In a different situation I would revert the change to rviz until the bug could be fixed, but since it has to do with licensing of the font itself, I don't feel that's an appropriate action to take right now.

The only information I have not in the original post is that the issue was not that the plugins were not reusing rviz code, but it was that, in the case of the moveit plugin, they were using Arial directly with various Qt widgets without providing the font itself or depending on it. This problem was hidden up by the fact that rviz was distributing the font and registering it into the system when running.

I'm not aware of a workaround at this time.





---
[Visit Topic](https://discourse.ros.org/t/notice-removal-of-arial-in-rviz-caused-breaking-changes/2791/3) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] [notice] Removal of Arial in rviz caused breaking changes

Charles Fox via ros-users
In reply to this post by Charles Fox via ros-users


Well it is really unpleasant to be stuck with a font issue while trying to run RViz. I would really appreciate a quick and dirty solution temporarily. I am sure a permanent solution will be adapted very soon.

Thanks in advance for any suggestions.





---
[Visit Topic](https://discourse.ros.org/t/notice-removal-of-arial-in-rviz-caused-breaking-changes/2791/4) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] [notice] Removal of Arial in rviz caused breaking changes

Charles Fox via ros-users
In reply to this post by Charles Fox via ros-users


[quote="fatihirim, post:4, topic:2791"]
Well it is really unpleasant to be stuck with a font issue while trying to run RViz.
[/quote]

To be clear for others reading this, running rviz works fine, it's only when using the moveit plugin for rviz that you run into the issue now.

[quote="fatihirim, post:4, topic:2791"]
I would really appreciate a quick and dirty solution temporarily.
[/quote]

If you're willing to compile the moveit rviz plugin from source, I believe you could install `fonts-liberation` from `apt` and find-replace all instances of `Arial` with `Liberation Sans` in the moveit rviz plugin, as described here:

https://github.com/ros-planning/moveit/issues/624#issuecomment-336178171





---
[Visit Topic](https://discourse.ros.org/t/notice-removal-of-arial-in-rviz-caused-breaking-changes/2791/5) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] [notice] Removal of Arial in rviz caused breaking changes

Charles Fox via ros-users
In reply to this post by Charles Fox via ros-users


Ok, additional question/comment on this issue:

I am facing this (font) problem for a robot model which I created in MoveIt! and tried to visualise in RViz.

However, I am not facing the issue for a very similar robot model which I created again in MoveIt! and try to visualise in RViz.

What might be causing the difference? Why am I having the issue with one model but not the other?





---
[Visit Topic](https://discourse.ros.org/t/notice-removal-of-arial-in-rviz-caused-breaking-changes/2791/6) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] [notice] Removal of Arial in rviz caused breaking changes

Charles Fox via ros-users
In reply to this post by Charles Fox via ros-users


@fatihirim please open an issue on the rviz or moveit repository, this is not the place to debug technical issues.

The robot model should not be the problem, it might be a new problem but I'm not aware of how a robot model might cause the issue and another would not. Again, please open an issue if you believe it is a different problem and include steps to reproduce and any other information you can think to provide.





---
[Visit Topic](https://discourse.ros.org/t/notice-removal-of-arial-in-rviz-caused-breaking-changes/2791/7) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>