Skip to content

Download button has weird space in between o and w #72

Description

@Andre601

Bug Report

Q A
BC Break ?
Library Version N/A (not used by myself)
PHP version N/A (not used by myself)

Summary

There seems to be some odd rendering behaviour with this PHP library and using letters such as "W".
When using those is there a weird gap before the letter itself.
This is prominently visible in this project's readme, by looking at the "downloads" badge, which displays as "do wnloads"

Here's an image of what I mean.
image

Using shields.io directly (i.e. https://img.shields.io/badge/downloads-16.9%20k-blue) doesn't show this specific issue, so it must be a cause by this library.

This was originally reported to antonkomarev/github-profile-views-counter#26

I use Edge as browser to view these badges, so if it doesn't show on Chrome (Probably unlikely as Edge also uses Chromium), Firefox, Safari, etc. could it be a browser-specific issue.

Current behavior

The badges have random gaps (mostly before a W) for no apparent reason.

How to reproduce

  1. Use this library to generate a badge I guess.

I don't really use this library myself, so I can't give clear steps to reproduce. It's just something I noticed and wanted to report.

Expected behavior

The badge should look like the example I provided:

badge

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions