I have the following TextView:

```xml
<com.mycompany.CustomTextView
    android:id="@+id/productName"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:ellipsize="end"
    android:lines="3"
    android:maxLines="3" />

```

This results in an expected look of the TextView with different amounts of text:
[![TextView with different amounts of text](https://i.stack.imgur.com/TTs45.png)](https://i.stack.imgur.com/TTs45.png)

However, when I use our corporate font created by our company, the TextView is getting bigger with every line with no text:
[![enter image description here](https://i.stack.imgur.com/PyPC9.png)](https://i.stack.imgur.com/PyPC9.png)

I don't know how this can be dependent on the used font. Is there any attribute in the .ttf file that leads to this odd behaviour?

My first thought was that Android adds new paragraphs to the TextView if not all of the lines are filled. But it would be new to me that a font file can define a default paragraph spacing.