# Issue with the font of annotation of colorbar using oblique projection

**URL:** <https://forum.generic-mapping-tools.org/t/issue-with-the-font-of-annotation-of-colorbar-using-oblique-projection/4756>\
**Category:** Q&A\
**Created:** [March 28, 2024, 12:48am UTC](https://forum.generic-mapping-tools.org/t/issue-with-the-font-of-annotation-of-colorbar-using-oblique-projection/4756 "2024-03-28T00:48:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GEOS](https://avatars.discourse-cdn.com/v4/letter/g/c0e974/32.png) [@GEOS](https://forum.generic-mapping-tools.org/u/GEOS)\
**Post date:** [March 28, 2024, 12:48am UTC](https://forum.generic-mapping-tools.org/t/issue-with-the-font-of-annotation-of-colorbar-using-oblique-projection/4756/1 "2024-03-28T00:48:51Z")

</div>

Find another issue with the font of annotation of colorbars:

 ![41060d8a6b631a4c15a7f959e8e2ac81c7b3846d_2_1380x478](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/d/de6cf2918fb9a7cbac23988dfa566967a7e73ef5.jpeg)  
I tried to set the font larger but it did not work (in GMT6.5):

```auto
gmt set FONT 12,Times-Roman
gmt set MAP_ANNOT_OBLIQUE anywhere

gmt begin gravity png
gmt grdimage @earth_faa_01m -JOb168/51/172/32.5/14c -R-500/2300/-400/400+uk -BeNsW -Bxa5f1 -Bya5f1
gmt colorbar -C -Dx14.2c/2c+jML+w3c/0.2c+mc -Ba100f50 -By+lmGal
gmt colorbar -C -Dx7c/-0.2c+jTC+w6c/0.2c+mc+h -Ba100f50 -By+lmGal
gmt end show

```

It works well in GMT 6.4.

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [March 28, 2024, 12:33pm UTC](https://forum.generic-mapping-tools.org/t/issue-with-the-font-of-annotation-of-colorbar-using-oblique-projection/4756/2 "2024-03-28T12:33:00Z")

</div>

Yes, things have changed a bit in 6.5. See [here why](https://github.com/GenericMappingTools/gmt/pull/6802). Basically the modern mode theme scales down the fonts depending on the colorbar length. So, the `FONT` is still working but is scaled down. To set a fixed size font use the online `--FONT=...` construct in colorbar commands.

---

<div class="post-metadata">

**Author:** ![GEOS](https://avatars.discourse-cdn.com/v4/letter/g/c0e974/32.png) [@GEOS](https://forum.generic-mapping-tools.org/u/GEOS)\
**Post date:** [March 28, 2024, 1:24pm UTC](https://forum.generic-mapping-tools.org/t/issue-with-the-font-of-annotation-of-colorbar-using-oblique-projection/4756/3 "2024-03-28T13:24:59Z")

</div>

Great. Many thanks!
