# Search doesn't work in some scenarios (possibly font-size related)

**URL:** https://pdfjs.community/t/search-doesnt-work-in-some-scenarios-possibly-font-size-related/746
**Category:** Bug Reports
**Tags:** pdfjs-express
**Created:** [May 4, 2021, 7:57am UTC](https://pdfjs.community/t/search-doesnt-work-in-some-scenarios-possibly-font-size-related/746 "2021-05-04T07:57:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![accounts1](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@accounts1](https://pdfjs.community/u/accounts1)
#### Post date: [May 4, 2021, 7:57am UTC](https://pdfjs.community/t/search-doesnt-work-in-some-scenarios-possibly-font-size-related/746/1 "2021-05-04T07:57:54Z")

</div>

We are trying to use the PDFExpress search, but have noticed some text isn’t found. On closer inspection, if we copy/paste out of the PDFExpress viewer, we can see that some text incorrectly has a carridge return between some of the text. This _appears_ to coincide with text-size changes in the text. If we search in the native webbrowser PDF viewer, it works perfectly. You can see this from the following image…

 ![Napkin 3 04-05-21, 8.57.40 am](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/17653d3e5ffdca057dd031f410d7c2ebd405f956.jpeg)

---

<div class="post-metadata">

### Author: ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)
#### Post date: [May 14, 2021, 2:17pm UTC](https://pdfjs.community/t/search-doesnt-work-in-some-scenarios-possibly-font-size-related/746/2 "2021-05-14T14:17:23Z")

</div>

Hi there!

I believe we have found a fix for this issue and it will be addressed in the next release.

Thanks,  
Logan
