I'm using the ThingPulse esp8266-oled-ssd1306 library v4.3.0 for a thermometer project.
I've created a Sans Serif 34 font to max out the two temp readings on a 128x64 OLED.
However, no matter how I try, the display.drawString() cannot utilize the first pixels of the top of the display.
I've inserted two images that I believe provides good samples of the problem
This is the code that does not draw at the top of the display:
display.setFont(SansSerif_Plain_34);
display.drawString(0, 0, "12.3°");
This is the code that show that a smaller font is able to get closer, but not close enough.
display.setFont(ArialMT_Plain_10);
display.drawString(95,0, "toprow");
display.drawLine(0,0,128,0);
Yes, you are correct - but how can I get the text to start on the first pixel row?
Or rather, how can I make as much use of the display's Y-range for my two thermometer readings? I can draw a line at the top row but I cannot get display.drawString(0, 0... to do it?
Negative Y values like display.drawString(0, -2... does not work,
I use the SSD1306 library from Bill Greiman. It ONLY Prints TEXT no graphics. But I find it works great. I don't know if the fonts can be made to meet your requirement of full screen.