react-native-image-marker icon indicating copy to clipboard operation
react-native-image-marker copied to clipboard

Text quality very poor

Open nohaapav opened this issue 5 years ago • 2 comments

Describe the bug Text quality very poor

Screen Shot 2019-03-17 at 5 06 26 PM

Anything i can do about that ? Bg image is 640x640

To Reproduce Steps to reproduce the behavior:

  1. Call markText with following options:
Marker.markText({
    src: <some-bg-image>,
    text: <some-text>, 
    position: 'center', 
    color: '#ffffff',
    fontName: 'Avenir-Roman', 
    fontSize: 20, 
    scale: 1, 
    quality: 100
}).then((res) => {
    console.log(res)
}).catch((err) => {
    console.log(err)
})

Devlopment environment(please complete the following information):

  • OS: OSX
  • nodejs: 8.11.3
  • react-native: 0.55.4
  • react-native-image-marker : 0.4.4

Smartphone (please complete the following information):

  • Device: Simulator
  • OS: iOS 12.1

nohaapav avatar Mar 17 '19 16:03 nohaapav

@JimmyDaddy - How to define a generic font size in markText method which will work for all android phones?

Example - If I use font size 40, the text is very small in Samsung Galaxy A10 device, but in Redmi Note 4A device ,the same font size of 40 is appropriate

Udbhav12 avatar Jul 01 '19 12:07 Udbhav12

@JimmyDaddy - How to define a generic font size in markText method which will work for all android phones?

Example - If I use font size 40, the text is very small in Samsung Galaxy A10 device, but in Redmi Note 4A device ,the same font size of 40 is appropriate

yes, I have same problem like above. still not fixed or any workaround solution for that?

egulhan avatar Mar 03 '21 10:03 egulhan

@JimmyDaddy - How to define the generic font size in markText method which will work for all android phones?

NeerajNema1988 avatar Mar 08 '23 01:03 NeerajNema1988

@JimmyDaddy - How to define a generic font size in markText method which will work for all android phones?

Example - If I use font size 40, the text is very small in Samsung Galaxy A10 device, but in Redmi Note 4A device ,the same font size of 40 is appropriate

@egulhan - Did you find out the solution for this?

NeerajNema1988 avatar Mar 08 '23 01:03 NeerajNema1988

@JimmyDaddy - How to define a generic font size in markText method which will work for all android phones?

Example - If I use font size 40, the text is very small in Samsung Galaxy A10 device, but in Redmi Note 4A device ,the same font size of 40 is appropriate

@Udbhav12 - Are you able to solve this issue?

NeerajNema1988 avatar Mar 08 '23 01:03 NeerajNema1988