How to draw middle dash line inside a character?

Hello,
I want to draw middle dash line inside a character, like below photo:
dashline-middle-character

Please show me the solution to resolve this problem.
Thank you!

There are 2 ways to solve this:

  1. by making the font a bmfont and then adding it in the font resource by adding dashed lines by art colleagues
  2. by means of a shader.

Thank @muxiandong , I like shader solution, can you give me an example about this case ?